summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-11 01:23:45 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-11 01:23:45 -0300
commite731c2a87859cb97aa091b11589c63a6b7f5a12e (patch)
treec81e4080c4a5c386d4c285870f588fba90acc50a
parent977be1ea61943917b9def025d59b8ef493810452 (diff)
Test for the actual repo
-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