diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 20:21:51 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 20:21:51 -0500 |
commit | cf66073dbab5c4c9f74b4e2ba24aba05ccbbe6b2 (patch) | |
tree | fa2b77b55d4052ba6b5e148741d4af6543279e3c | |
parent | 650d1937cb58f66719b071a3f58afe66a5da68e4 (diff) |
sanity
-rwxr-xr-x | post-apt.d/60git-rm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/post-apt.d/60git-rm b/post-apt.d/60git-rm index 73dc4d8..4a47435 100755 --- a/post-apt.d/60git-rm +++ b/post-apt.d/60git-rm @@ -3,7 +3,7 @@ set -e TAB=" " -for file in $(git status | egrep "^#${TAB}*deleted: *" | sed 's/.*deleted: *//'); do +for file in $(git ls-files --deleted); do if [ ! -d "$file" ]; then git rm "$file" fi |