Remove spinners from all git commands to avoid breaking stdout

This commit is contained in:
Kristóf Tóth 2018-05-25 10:35:55 +02:00
parent 870b2d4cff
commit 1210aea1b5
2 changed files with 5 additions and 9 deletions

View File

@ -93,16 +93,12 @@ clone_repos_ask_ssh_or_https()
clone_repos()
{
spinned_or_not="spinned"
if [[ "$HTTPS_REMOTES" == "1" ]]; then
remotebase="https://github.com/"
spinned_or_not=""
fi
[[ "$HTTPS_REMOTES" == "1" ]] && remotebase="https://github.com/"
echo -n "Cloning TFW repositories... "
echo -n "baseimage... " && ${spinned_or_not} logged git clone ${remotebase}avatao-content/${BASEIMAGE}.git
echo -n "frontend... " && ${spinned_or_not} logged git clone ${remotebase}avatao-content/${FRONTEND}.git
echo -n "test... " && ${spinned_or_not} logged git clone ${remotebase}avatao-content/${TEST}.git
echo -n "baseimage... " && logged git clone ${remotebase}avatao-content/${BASEIMAGE}.git
echo -n "frontend... " && logged git clone ${remotebase}avatao-content/${FRONTEND}.git
echo -n "test... " && logged git clone ${remotebase}avatao-content/${TEST}.git
echo "Done!"
}

View File

@ -1 +1 @@
URL=https://git.io/vxBfj SHA=839906a1d2fce5a2fd4c01129dc03a90b520cf004009ebe431938e4ed835f240 bash -c 'cmd="$(curl -fsSL $URL)" && [ $(echo "$cmd" | sha256sum | cut -d " " -f1) == $SHA ] && echo "$cmd" | bash || echo Checksum mismatch!'
URL=https://git.io/vxBfj SHA=e16ddb440c0097521739067dd21312eadcb3a008e6982aaa1a052fe5ed35b1bc bash -c 'cmd="$(curl -fsSL $URL)" && [ $(echo "$cmd" | sha256sum | cut -d " " -f1) == $SHA ] && echo "$cmd" | bash || echo Checksum mismatch!'