summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-17 13:38:35 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-17 13:38:35 -0300
commitd1bdb09e361ec4a057356d9055068c837d0005ba (patch)
treedf7c4d8c9c55f1c69001726b87013ad6498e8532
parent48828bef374bf88f8e61a4ba8a31c872131d925e (diff)
The test was inverted
-rwxr-xr-xgit-shell-commands/create-bare-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-shell-commands/create-bare-repo b/git-shell-commands/create-bare-repo
index a6e49e3..7559fc3 100755
--- a/git-shell-commands/create-bare-repo
+++ b/git-shell-commands/create-bare-repo
@@ -8,7 +8,7 @@ set -e
for repo in $@; do
# Cleanup names
repo="`echo "$repo" | sed -e "s,^[/\.]\+,,g" -e "s,[^a-z0-9\./_-],,gi"`"
- test ! -d "$repo".git && continue
+ test -d "$repo".git && continue
mkdir -p "$repo".git
pushd "$repo".git