summaryrefslogtreecommitdiff
path: root/git-prune.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-18 19:15:40 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-18 19:16:09 (GMT)
commitc3e24a7d461abaacc16c014ee427b37ab0102ca7 (patch)
tree5ac42cdcd343235b4d436f4f0c77695fbb57a6cb /git-prune.sh
parent087b6742fcab74f7a53626b98969bed27d288e2b (diff)
downloadgit-c3e24a7d461abaacc16c014ee427b37ab0102ca7.zip
git-c3e24a7d461abaacc16c014ee427b37ab0102ca7.tar.gz
git-c3e24a7d461abaacc16c014ee427b37ab0102ca7.tar.bz2
git-prune: quote possibly empty $dryrun as parameter to test
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-prune.sh')
-rwxr-xr-xgit-prune.sh2
1 files changed, 1 insertions, 1 deletions
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