mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
update create_repo script
; Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
38b9ebbe94
commit
dd4a89d9b0
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user