diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-11 01:23:45 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-11 01:23:45 -0300 |
commit | e731c2a87859cb97aa091b11589c63a6b7f5a12e (patch) | |
tree | c81e4080c4a5c386d4c285870f588fba90acc50a | |
parent | 977be1ea61943917b9def025d59b8ef493810452 (diff) |
Test for the actual repo
-rwxr-xr-x | git-shell-commands/delete-repo | 2 |
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 |