summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1e4350e..17804c6 100755
--- a/git-shell-commands/delete-repo
+++ b/git-shell-commands/delete-repo
@@ -6,7 +6,7 @@
set -e
for repo in $@; do
- test ! -d "$repo" && continue
+ test ! -d "$repo".git && continue
# lo and behold absolute horror
rm -rf "$repo".git