[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8596: ARCH is universal for OSX 10.4 and beyond. Only ppc is avail (tor/branches/tor-0_1_1-patches/contrib/osx)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8596: ARCH is universal for OSX 10.4 and beyond. Only ppc is avail (tor/branches/tor-0_1_1-patches/contrib/osx)
- From: phobos@xxxxxxxx
- Date: Wed, 4 Oct 2006 23:25:49 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 04 Oct 2006 23:26:03 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: phobos
Date: 2006-10-04 23:25:48 -0400 (Wed, 04 Oct 2006)
New Revision: 8596
Modified:
tor/branches/tor-0_1_1-patches/contrib/osx/package.sh
Log:
ARCH is universal for OSX 10.4 and beyond. Only ppc is available for
10.3 and previous.
Modified: tor/branches/tor-0_1_1-patches/contrib/osx/package.sh
===================================================================
--- tor/branches/tor-0_1_1-patches/contrib/osx/package.sh 2006-10-04 05:19:40 UTC (rev 8595)
+++ tor/branches/tor-0_1_1-patches/contrib/osx/package.sh 2006-10-05 03:25:48 UTC (rev 8596)
@@ -32,12 +32,6 @@
exit 1
fi
-if [ -x /usr/bin/arch ]; then
- ARCH=`/usr/bin/arch`
-else
- ARCH="unknown"
-fi
-
## Determine OSX Version
# map version to name
if [ -x /usr/bin/sw_vers ]; then
@@ -45,12 +39,12 @@
# the OS version
OSVER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
case "$OSVER" in
- "10.5") OS="leopard";;
- "10.4") OS="tiger";;
- "10.3") OS="panther";;
- "10.2") OS="jaguar";;
- "10.1") OS="puma";;
- "10.0") OS="cheetah";;
+ "10.5") OS="leopard" ARCH="universal";;
+ "10.4") OS="tiger" ARCH="universal";;
+ "10.3") OS="panther" ARCH="ppc";;
+ "10.2") OS="jaguar" ARCH="ppc";;
+ "10.1") OS="puma" ARCH="ppc";;
+ "10.0") OS="cheetah" ARCH="ppc";;
*) OS="unknown";;
esac
else