From 6410baf624915e41a5b58e2c57becaa4bef966b6 Mon Sep 17 00:00:00 2001 From: Andrew Lewman Date: Sun, 13 Aug 2006 00:29:56 +0000 Subject: [PATCH] Apparently not everyone wants to build Universal binaries. Return valid Archictecture detection for inclusion into final dmg naming. svn:r7039 --- contrib/osx/package.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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