diff --git a/bootstrap.sh b/bootstrap.sh index 6f4ba7ba7..b0ebcf813 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -11,15 +11,6 @@ todo - shrink icu data ' -# allow sourcing of script without -# causing the terminal to bail on error -function finish { - set +eu - set +o pipefail -} - -trap finish EXIT - MASON_VERSION="7ed8931" function setup_mason() { @@ -155,3 +146,8 @@ function main() { } main + +# allow sourcing of script without +# causing the terminal to bail on error +set +eu +set +o pipefail