aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-08-13 00:29:56 +0000
committerAndrew Lewman <andrew@torproject.org>2006-08-13 00:29:56 +0000
commit6410baf624915e41a5b58e2c57becaa4bef966b6 (patch)
treefd7c57b6a5f5f8168d3c47693659dff90e6581a6
parent38f0a7f93ffbae4eec7e1bb05aaad8a437fad934 (diff)
downloadtor-6410baf624915e41a5b58e2c57becaa4bef966b6.tar
tor-6410baf624915e41a5b58e2c57becaa4bef966b6.tar.gz
Apparently not everyone wants to build Universal binaries. Return valid
Archictecture detection for inclusion into final dmg naming. svn:r7039
-rw-r--r--contrib/osx/package.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/osx/package.sh b/contrib/osx/package.sh
index c95d1314b..737ea82ef 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