From 3f18884dcd38d14726830b36b92067899f85bc2b Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 11 Nov 2017 18:11:14 +0100 Subject: [PATCH] fix previous commit --- contrib/make_osx | 2 +- contrib/osx.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/make_osx b/contrib/make_osx index 3ffe87993..7d3d19238 100755 --- a/contrib/make_osx +++ b/contrib/make_osx @@ -2,5 +2,5 @@ rm -rf dist export PYTHONHASHSEED=22 VERSION=`git describe --tags` -pyinstaller --noconfirm --ascii contrib/osx.spec --version VERSION +pyinstaller --noconfirm --ascii --name $VERSION xcontrib/osx.spec hdiutil create -fs HFS+ -volname "Electrum" -srcfolder dist/Electrum.app dist/electrum-$VERSION.dmg diff --git a/contrib/osx.spec b/contrib/osx.spec index 985ae29bc..81f98bb74 100644 --- a/contrib/osx.spec +++ b/contrib/osx.spec @@ -4,7 +4,7 @@ from PyInstaller.utils.hooks import collect_data_files, collect_submodules import sys for i, x in enumerate(sys.argv): - if x == '--version': + if x == '--name': VERSION = sys.argv[i+1] break else: