Revision
366
Author
wsiegrist@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

Diff

Modified: trunk/darwinbuild/darwinbuild.common (365 => 366)


--- 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