diff --git a/contrib/osx/package.sh b/contrib/osx/package.sh index c95d1314b3..737ea82efa 100644 --- a/contrib/osx/package.sh +++ b/contrib/osx/package.sh @@ -32,7 +32,11 @@ if [ "XX$VERSION" = 'XX' ]; then exit 1 fi -ARCH="universal" +if [ -x /usr/bin/arch ]; then + ARCH=`/usr/bin/arch` +else + ARCH="unknown" +fi ## Determine OSX Version # map version to name