summaryrefslogtreecommitdiff
path: root/git-shell-commands
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-11 01:19:13 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-11 01:19:13 -0300
commit977be1ea61943917b9def025d59b8ef493810452 (patch)
tree39d6c41e5de35ced084cf11a652d6d28759c0e8b /git-shell-commands
parent56bbf899a62e6ebf33a4c2dd2b1b1bd7e1b6da72 (diff)
test is nicer
Diffstat (limited to 'git-shell-commands')
-rwxr-xr-xgit-shell-commands/delete-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-shell-commands/delete-repo b/git-shell-commands/delete-repo
index 5731272..1e4350e 100755
--- a/git-shell-commands/delete-repo
+++ b/git-shell-commands/delete-repo
@@ -6,7 +6,7 @@
set -e
for repo in $@; do
- if [ -z "$repo" ]; then continue; fi
+ test ! -d "$repo" && continue
# lo and behold absolute horror
rm -rf "$repo".git