diff options
author | Andrew Lewman <andrew@torproject.org> | 2006-08-13 00:29:56 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2006-08-13 00:29:56 +0000 |
commit | 6410baf624915e41a5b58e2c57becaa4bef966b6 (patch) | |
tree | fd7c57b6a5f5f8168d3c47693659dff90e6581a6 /contrib/osx/package.sh | |
parent | 38f0a7f93ffbae4eec7e1bb05aaad8a437fad934 (diff) | |
download | tor-6410baf624915e41a5b58e2c57becaa4bef966b6.tar.gz tor-6410baf624915e41a5b58e2c57becaa4bef966b6.zip |
Apparently not everyone wants to build Universal binaries. Return valid
Archictecture detection for inclusion into final dmg naming.
svn:r7039
Diffstat (limited to 'contrib/osx/package.sh')
-rw-r--r-- | contrib/osx/package.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |