Bug 421689: Mozilla won't build with XCode 3.1/more stable fix; r=ted.mielczarek, a1.9+=damons

This commit is contained in:
mnyromyr@tprac.de 2008-03-13 14:18:32 -07:00
parent 2e437c0b98
commit fdb7240a2e

View File

@ -707,7 +707,7 @@ from building Mozilla. Upgrade to Xcode 2.1 or later.])
case "$PBBUILD" in
*xcodebuild*)
changequote(,)
XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/' | tail -n 1`
XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | xargs | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/'`
changequote([,])
if test -n "$XCODEBUILD_VERSION" && test "$XCODEBUILD_VERSION" -ge 620 ; then
HAS_XCODE_2_1=1;