update create_repo script

;

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2017-04-10 15:19:36 +00:00
parent 38b9ebbe94
commit dd4a89d9b0

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
repo=$1 repo=$1
if [ $repo != *.git ]; then if [[ "$repo" != *.git ]]; then
repo="${repo}.git" repo="${repo}.git"
fi fi
echo "Creating $repo" echo "Creating $repo"