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

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 23 17:00:04 PDT 2009


Revision: 574
          http://trac.macosforge.org/projects/darwinbuild/changeset/574
Author:   wsiegrist at apple.com
Date:     2009-09-23 17:00:04 -0700 (Wed, 23 Sep 2009)
Log Message:
-----------
Always make a receipts directory even if we do not plan to chroot. Install roots if integrating Xcode so they are in the SDK

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

Modified: trunk/darwinbuild/darwinbuild.in
===================================================================
--- trunk/darwinbuild/darwinbuild.in	2009-09-23 00:45:16 UTC (rev 573)
+++ trunk/darwinbuild/darwinbuild.in	2009-09-24 00:00:04 UTC (rev 574)
@@ -607,6 +607,10 @@
 	fi
 fi
 
+
+receipts="$BuildRoot/usr/local/darwinbuild/receipts"
+mkdir -p "$receipts"
+
 ### xcodebuild is a special case because it is not open source
 ### we try to integrate the host copy of Xcode if required
 if [ $INSTALL_XCODE == "YES" ]; then
@@ -626,10 +630,8 @@
 ### Also install CoreOSMakefiles and Perl for make based projects
 ###
 
-if [ $USE_CHROOT == "YES" -a "$noload" != "YES" ]; then
+if [ \( $USE_CHROOT=="YES" -o $INSTALL_XCODE=="YES" \) -a "$noload" != "YES" ]; then
 	echo "*** Installing Roots ..."
-	receipts="$BuildRoot/usr/local/darwinbuild/receipts"
-	mkdir -p "$receipts"
 	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/20090923/bb46ef77/attachment.html>


More information about the darwinbuild-changes mailing list