From a6e670c8d589d0cd53a16e14c8c7760e2738114a Mon Sep 17 00:00:00 2001 From: ludamad Date: Wed, 19 Feb 2025 12:01:29 -0500 Subject: [PATCH] fix: darwin properly erroring --- barretenberg/cpp/bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/barretenberg/cpp/bootstrap.sh b/barretenberg/cpp/bootstrap.sh index 262773bd7af6..d1b2336a9473 100755 --- a/barretenberg/cpp/bootstrap.sh +++ b/barretenberg/cpp/bootstrap.sh @@ -32,6 +32,7 @@ function build_nodejs_module { } function build_darwin { + set -eu local arch=${1:-$(arch)} if ! cache_download barretenberg-darwin-$hash.tar.gz; then # Download sdk.