From 977be1ea61943917b9def025d59b8ef493810452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Wed, 11 Sep 2013 01:19:13 -0300 Subject: test is nicer --- git-shell-commands/delete-repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1-4-g5e80