merge of '15095538e7b5c72468863e969541571ade1796f9'

and '39af5d31a13c5d5b71107e2caa0c234b84827c03'
This commit is contained in:
zzz
2012-08-11 12:26:32 +00:00

View File

@@ -359,7 +359,7 @@ esac
# Resolve the architecture
if [ "$DIST_OS" = "macosx" ]
then
OS_VER=`sw_vers | grep 'ProductVersion:' | grep -o '[0-9]*\.[0-9]*\.[0-9]*'`
OS_VER=`sw_vers | grep ProductVersion | cut -d: -f2 | sed -e 's/[^0-9]*//'`
DIST_ARCH="universal"
if [ $(sysctl -n hw.cpu64bit_capable) -eq 1 ]; then
DIST_BITS="64"