[darwinbuild-changes] [366] trunk/darwinbuild/darwinbuild.common

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 9 13:56:57 PDT 2008


Revision: 366
          http://trac.macosforge.org/projects/darwinbuild/changeset/366
Author:   wsiegrist at apple.com
Date:     2008-04-09 13:56:55 -0700 (Wed, 09 Apr 2008)

Log Message:
-----------
Fixed a bug in InstallRoot's querying of binary_sites. We now provide the project name to darwinxref so individual projects can have their own binary_sites value

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

Modified: trunk/darwinbuild/darwinbuild.common
===================================================================
--- trunk/darwinbuild/darwinbuild.common	2008-04-04 22:44:31 UTC (rev 365)
+++ trunk/darwinbuild/darwinbuild.common	2008-04-09 20:56:55 UTC (rev 366)
@@ -226,7 +226,7 @@
 	elif [ $InstallPreBuiltRoot -eq 1 ]; then
 	    # install a pre-built root, in inheritance order
 		while [ "$dbuild" != "" ]; do
-	    	sites=$($DARWINXREF $dbfile -b $dbuild binary_sites "$X")
+	    	sites=$($DARWINXREF $dbfile -b $dbuild binary_sites "$Project")
 			Download "$CACHEDIR" \
 				"$Project.root.tar.gz" \
 					"$sites"
@@ -251,7 +251,7 @@
 		# if we didn't find the root for this build, keep looking in the next build	     
 	    done
 	    # we look through all inherited builds and couldn't actually install anything
-		echo "ERROR: could not find root: $X" 1>&2
+		echo "ERROR: could not find root: $Project" 1>&2
 	    exit 1
 	fi
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20080409/027db9ed/attachment.html


More information about the darwinbuild-changes mailing list