summaryrefslogtreecommitdiff
path: root/git-create
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-11-30 18:28:08 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-11-30 18:28:08 -0500
commitcfb2e53ee1bbe747a10ceb3e0eca25daa454382b (patch)
tree85c32fbe2dfe6bb0e94265a3beb821addfce1b98 /git-create
parentb387934988d98ca7842bf44bd94d5067e3f9f843 (diff)
downloadscripts-cfb2e53ee1bbe747a10ceb3e0eca25daa454382b.tar.xz
scripts-cfb2e53ee1bbe747a10ceb3e0eca25daa454382b.zip
added i3blocks-weather, added radar
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