From 8812c59b6023764e8138ecf4bc073a825a59e621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sun, 15 Apr 2018 21:22:56 +0200 Subject: [PATCH] Fix broken traps --- hack/bootstrap_tfw_dev.sh | 4 +++- hack/oneline_install.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hack/bootstrap_tfw_dev.sh b/hack/bootstrap_tfw_dev.sh index 5d1e9ca..fd39447 100755 --- a/hack/bootstrap_tfw_dev.sh +++ b/hack/bootstrap_tfw_dev.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -set -eo pipefail +set -e +set -o pipefail +set -o errtrace shopt -s expand_aliases [ "$(uname)" == "Darwin" ] && alias sed="gsed" || : diff --git a/hack/oneline_install.sh b/hack/oneline_install.sh index ec37b59..c9690d3 100644 --- a/hack/oneline_install.sh +++ b/hack/oneline_install.sh @@ -1 +1 @@ -URL=https://git.io/vxBfj SHA=d8d41c268c36bbc972ac0ebf01fddc39bb8f53dab59c30d6ed3e46b98cbccfa2 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=e72bc2836448c4ab0171d637b459546f927ae7ec63cafa2bf4596f50eaaa0aec bash -c 'cmd="$(curl -fsSL $URL)" && [ $(echo "$cmd" | sha256sum | cut -d " " -f1) == $SHA ] && echo "$cmd" | bash || echo Checksum mismatch!'