From dd4a89d9b0eda76ddde48e74da6d132a3f144408 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Mon, 10 Apr 2017 15:19:36 +0000 Subject: [PATCH] update create_repo script ; Signed-off-by: Jess Frazelle --- gitserver/create_repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitserver/create_repo b/gitserver/create_repo index 912a062..d78f2bf 100755 --- a/gitserver/create_repo +++ b/gitserver/create_repo @@ -1,7 +1,7 @@ #!/bin/bash repo=$1 -if [ $repo != *.git ]; then +if [[ "$repo" != *.git ]]; then repo="${repo}.git" fi echo "Creating $repo"