mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
updated naming.
This commit is contained in:
parent
ecae6f764a
commit
c0ad690924
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user