From d4931b0727e2e9d8dd2f4704876faab17156ddbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 2 May 2018 18:17:58 +0200 Subject: [PATCH] Fix spinned function not returning exit codes --- hack/bootstrap_tfw_dev.sh | 1 + hack/oneline_install.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/bootstrap_tfw_dev.sh b/hack/bootstrap_tfw_dev.sh index 472efea..b7dab0e 100755 --- a/hack/bootstrap_tfw_dev.sh +++ b/hack/bootstrap_tfw_dev.sh @@ -145,6 +145,7 @@ spinned() done done echo -ne "\b" + wait $pid } run diff --git a/hack/oneline_install.sh b/hack/oneline_install.sh index 8041454..ca54bfa 100644 --- a/hack/oneline_install.sh +++ b/hack/oneline_install.sh @@ -1 +1 @@ -URL=https://git.io/vxBfj SHA=4cafb766699ed93a6dcb0f806b0aa7b2d677285e0bdd137c74d8ef34a4a51284 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=8594a813cdc4fd080e6b52c7cba2b41f99aa4f6bb09096d76397e7d07422b341 bash -c 'cmd="$(curl -fsSL $URL)" && [ $(echo "$cmd" | sha256sum | cut -d " " -f1) == $SHA ] && echo "$cmd" | bash || echo Checksum mismatch!'