updated naming.

This commit is contained in:
Andrew Lewman 2009-10-12 08:36:39 -04:00
parent ecae6f764a
commit c0ad690924

View File

@ -25,9 +25,9 @@ if [ -x /usr/bin/sw_vers ]; then
# the OS version # the OS version
OSVER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2` OSVER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
case "$OSVER" in case "$OSVER" in
"10.6") ARCH="universal";; "10.6") ARCH="i386";;
"10.5") ARCH="universal";; "10.5") ARCH="i386";;
"10.4") ARCH="universal";; "10.4") ARCH="i386";;
"10.3") ARCH="ppc";; "10.3") ARCH="ppc";;
"10.2") ARCH="ppc";; "10.2") ARCH="ppc";;
"10.1") ARCH="ppc";; "10.1") ARCH="ppc";;
@ -37,7 +37,7 @@ else
ARCH="unknown" ARCH="unknown"
fi fi
if [ $ARCH != "universal" ]; then if [ $ARCH != "i386" ]; then
export EVENT_NOKQUEUE=1 export EVENT_NOKQUEUE=1
fi fi