[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r7039: Apparently not everyone wants to build Universal binaries. R (tor/trunk/contrib/osx)



Author: phobos
Date: 2006-08-12 20:29:56 -0400 (Sat, 12 Aug 2006)
New Revision: 7039

Modified:
   tor/trunk/contrib/osx/package.sh
Log:
Apparently not everyone wants to build Universal binaries.  Return valid
Archictecture detection for inclusion into final dmg naming.


Modified: tor/trunk/contrib/osx/package.sh
===================================================================
--- tor/trunk/contrib/osx/package.sh	2006-08-13 00:14:40 UTC (rev 7038)
+++ tor/trunk/contrib/osx/package.sh	2006-08-13 00:29:56 UTC (rev 7039)
@@ -32,7 +32,11 @@
   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