Browse Source

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)
patch-4
SomberNight 4 years ago
parent
commit
e679e6074f
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 8
      contrib/osx/make_osx

8
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`

Loading…
Cancel
Save