Revision
643
Author
wsiegrist@apple.com
Date
2009-12-07 08:52:02 -0800 (Mon, 07 Dec 2009)

Log Message

Look for xcodebuild being used from inside Makefiles

Modified Paths

Diff

Modified: trunk/darwinbuild/darwinbuild.in (642 => 643)


--- trunk/darwinbuild/darwinbuild.in	2009-11-16 18:37:10 UTC (rev 642)
+++ trunk/darwinbuild/darwinbuild.in	2009-12-07 16:52:02 UTC (rev 643)
@@ -595,7 +595,7 @@
 	buildtool="make"
 
 	# test for hybrid make-xcode project
-	uses_xcrun=$(grep -Elir 'xcrun|Commands.make|BSDCommon.make|Standard.make|Common.make' .)
+	uses_xcrun=$(grep -Elir 'xcodebuild|xcrun|Commands.make|BSDCommon.make|Standard.make|Common.make' .)
 	if [ -n "$uses_xcrun" -a $USE_CHROOT == "YES" ]; then
 		export USE_CHROOT="NO"
 		export INSTALL_XCODE="YES"