From c3e24a7d461abaacc16c014ee427b37ab0102ca7 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 18 Nov 2005 11:15:40 -0800 Subject: git-prune: quote possibly empty $dryrun as parameter to test Signed-off-by: Junio C Hamano diff --git a/git-prune.sh b/git-prune.sh index aa79807..c4de7f5 100755 --- a/git-prune.sh +++ b/git-prune.sh @@ -31,7 +31,7 @@ git-prune-packed $dryrun redundant=$(git-pack-redundant --all) if test "" != "$redundant" then - if test "" = $dryrun + if test "" = "$dryrun" then echo "$redundant" | xargs rm -f else -- cgit v0.10.2-6-g49f6