tfollow-up previous commit - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 553006c7e59542c9ae2ebc96f756ae1d22752881 DIR parent f854232837cb04960f1d116742c44de7f4e78ef7 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 27 Mar 2018 16:51:39 +0200 follow-up previous commit Diffstat: M contrib/build-osx/base.sh | 3 --- M contrib/build-osx/make_osx | 4 +++- M contrib/build-osx/package.sh | 2 ++ 3 files changed, 5 insertions(+), 4 deletions(-) --- DIR diff --git a/contrib/build-osx/base.sh b/contrib/build-osx/base.sh t@@ -10,6 +10,3 @@ function fail { printf "\r🗯 ${RED}ERROR:${NC} ${1}\n" exit 1 } - -build_dir=$(dirname "$1") -test -n "$build_dir" -a -d "$build_dir" || exit DIR diff --git a/contrib/build-osx/make_osx b/contrib/build-osx/make_osx t@@ -7,7 +7,9 @@ PACKAGE=Electrum GIT_REPO=https://github.com/spesmilo/electrum . $(dirname "$0")/base.sh -cd $build_dir/../.. + +src_dir=$(dirname "$0") +cd $src_dir/../.. export PYTHONHASHSEED=22 VERSION=`git describe --tags` DIR diff --git a/contrib/build-osx/package.sh b/contrib/build-osx/package.sh t@@ -59,6 +59,8 @@ rm -rf /tmp/electrum-macos/image > /dev/null 2>&1 mkdir /tmp/electrum-macos/image/ cp -r $1 /tmp/electrum-macos/image/ +build_dir=$(dirname "$1") +test -n "$build_dir" -a -d "$build_dir" || exit cd $build_dir ${genisoimage} \