diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-22 21:12:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-22 21:12:50 +0300 |
commit | 04c60bfaf9df6df91fa1bc41eac28f50239bba8f (patch) | |
tree | 58a8137c6685d9b2e551f5eb0dc308064e9b05ec /.tools | |
parent | ec89e68a38cb5efc4c7f7a01d640441ec17c045f (diff) | |
download | clientdata-04c60bfaf9df6df91fa1bc41eac28f50239bba8f.tar.gz clientdata-04c60bfaf9df6df91fa1bc41eac28f50239bba8f.tar.bz2 clientdata-04c60bfaf9df6df91fa1bc41eac28f50239bba8f.tar.xz clientdata-04c60bfaf9df6df91fa1bc41eac28f50239bba8f.zip |
Fix git clone usage in ci scripts.
Diffstat (limited to '.tools')
-rwxr-xr-x | .tools/init.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.tools/init.sh b/.tools/init.sh index 7e57a76f..4fe533ef 100755 --- a/.tools/init.sh +++ b/.tools/init.sh @@ -23,16 +23,16 @@ function gitclone { export name2=${CI_BUILD_REPO##*@} export name2=https://${name2%/*}/$2 - gitclone1 $1 $2 $3 + gitclone1 "$name1" "$name2" $3 if [ "$?" != 0 ]; then sleep 1s - gitclone1 $1 $2 $3 + gitclone1 "$name1" "$name2" $3 if [ "$?" != 0 ]; then sleep 3s - gitclone1 $1 $2 $3 + gitclone1 "$name1" "$name2" $3 if [ "$?" != 0 ]; then sleep 5s - gitclone1 $1 $2 $3 + gitclone1 "$name1" "$name2" $3 fi fi fi |