diff options
-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 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 |