Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-18 22:15:40 +0300
committerJunio C Hamano <junkio@cox.net>2005-11-18 22:16:09 +0300
commitc3e24a7d461abaacc16c014ee427b37ab0102ca7 (patch)
tree5ac42cdcd343235b4d436f4f0c77695fbb57a6cb /git-prune.sh
parent087b6742fcab74f7a53626b98969bed27d288e2b (diff)
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 aa79807313..c4de7f5f25 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