mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +01:00
update create_repo script
; Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user