From 91ad7e61aeaeaae41b695a7386342ccb9d21f23a Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Fri, 27 Nov 2020 15:46:18 -0800 Subject: [PATCH] There is now x86_64 and ARM64 Mac OS X, use uname in build script --- build-scripts/macosx/make-macosx-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-scripts/macosx/make-macosx-build.sh b/build-scripts/macosx/make-macosx-build.sh index 0ea575eec..b2b8cee63 100755 --- a/build-scripts/macosx/make-macosx-build.sh +++ b/build-scripts/macosx/make-macosx-build.sh @@ -5,8 +5,9 @@ # git clone https://github.com/joncampbell123/dosbox-x dosbox-x-sdl2 # # Then run this script +arch=`uname -m` name=`date +%F-%T | sed -e 's/:/-/g' | sed -e 's/-//g'` -name="dosbox-x-macosx-x64-$name.zip" +name="dosbox-x-macosx-$arch-$name.zip" echo "Will pack to $name" sleep 1