From e679e6074f1f915427459e5c7240c3ba818d866e Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 16 Jul 2021 16:26:30 +0200 Subject: [PATCH] mac build: add "set -e" for sanity... re touching these files: not sure they are really needed (but the ~/Library/Python/ and ~/.pyenv folders are no longer there on the build machine) --- contrib/osx/make_osx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/contrib/osx/make_osx b/contrib/osx/make_osx index abbf91d46..19c99f8a4 100755 --- a/contrib/osx/make_osx +++ b/contrib/osx/make_osx @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + # Parameterize PYTHON_VERSION=3.7.9 BUILDDIR=/tmp/electrum-build @@ -154,11 +156,7 @@ info "Building $PACKAGE..." python3 -m pip install --no-dependencies --no-warn-script-location . > /dev/null || fail "Could not build $PACKAGE" info "Faking timestamps..." -for d in ~/Library/Python/ ~/.pyenv .; do - pushd "$d" - find . -exec touch -t '200101220000' {} + - popd -done +find . -exec touch -t '200101220000' {} + || true VERSION=`git describe --tags --dirty --always`