summaryrefslogtreecommitdiff
path: root/git-create
diff options
context:
space:
mode:
Diffstat (limited to 'git-create')
-rwxr-xr-xgit-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-create b/git-create
index 642016f..48fa1d7 100755
--- a/git-create
+++ b/git-create
@@ -4,14 +4,14 @@
# create a repo of provided name on macon and make it the upstream
name=$1
-[[ ! $(echo "$name" | grep ".git" -) ]] && name="$1.git"
+[ ! $(echo "$name" | grep ".git" -) ] && name="$1.git"
description=$2
echo "'$name': '$description'"
echo "Create repo?"
read choice
-[[ ! $choice == "y" ]] && exit 1
+[ ! $choice == "y" ] && exit 1
ssh git@53hor.net << EOF
cd /srv/git