From 30f6e6bd1fc195044ab8d67e70b630a291ebeb62 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 11 Dec 2018 12:45:23 +0100 Subject: [PATCH] use uname -m instead of uname -p On my OS X 10.9.5 Mac (AMD64) uname -m => x86_64 uname -p -> i386 --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index dabb23f2..0f9ef3a2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -880,8 +880,8 @@ else $(DOC_FILES:../%=%) endif ifeq ($(PLATFORM),Darwin) - $(ZIP) $(ZIPOPT) -r ../Grafx2.app-$(shell uname -p)-$(API)-$(VERSIONTAG).zip Grafx2.app - cd .. && $(ZIP) $(ZIPOPT) Grafx2.app-$(shell uname -p)-$(API)-$(VERSIONTAG).zip \ + $(ZIP) $(ZIPOPT) -r ../Grafx2.app-$(shell uname -m)-$(API)-$(VERSIONTAG).zip Grafx2.app + cd .. && $(ZIP) $(ZIPOPT) Grafx2.app-$(shell uname -m)-$(API)-$(VERSIONTAG).zip \ $(DOC_FILES:../%=%) $(SRCARCH:../%=%) endif $(TAR) czf "../grafx2-$(VERSIONTAG)-src.tgz" $(TARTRANSFORM) \