[darwinbuild-changes] [579] trunk/darwinbuild/darwinbuild.in

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 29 15:17:53 PDT 2009


Revision: 579
          http://trac.macosforge.org/projects/darwinbuild/changeset/579
Author:   wsiegrist at apple.com
Date:     2009-09-29 15:17:52 -0700 (Tue, 29 Sep 2009)
Log Message:
-----------
Fix logic for installing roots

Modified Paths:
--------------
    trunk/darwinbuild/darwinbuild.in

Modified: trunk/darwinbuild/darwinbuild.in
===================================================================
--- trunk/darwinbuild/darwinbuild.in	2009-09-29 21:24:40 UTC (rev 578)
+++ trunk/darwinbuild/darwinbuild.in	2009-09-29 22:17:52 UTC (rev 579)
@@ -622,7 +622,12 @@
 ### Also install CoreOSMakefiles and Perl for make based projects
 ###
 
-if [ \( $USE_CHROOT=="YES" -o $INSTALL_XCODE=="YES" \) -a "$noload" != "YES" ]; then
+NEED_ROOTS="YES"
+if [ $USE_CHROOT == "NO" -a $INSTALL_XCODE == "NO" ]; then
+	NEED_ROOTS="NO"
+fi
+
+if [ "$NEED_ROOTS" == "YES" -a "$noload" != "YES" ]; then
 	echo "*** Installing Roots ..."
 	bash_deps=$($DARWINXREF dependencies -run "bash")
 	deps=$($DARWINXREF dependencies -build "$projnam")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20090929/64281451/attachment.html>


More information about the darwinbuild-changes mailing list