Revision
524
Author
wsiegrist@apple.com
Date
2009-06-16 15:50:35 -0700 (Tue, 16 Jun 2009)

Log Message

Use the correct variable for project name when installing a header root. This is the -header variant of r366.

Modified Paths

Diff

Modified: trunk/darwinbuild/darwinbuild.common (523 => 524)


--- trunk/darwinbuild/darwinbuild.common	2009-05-31 20:59:28 UTC (rev 523)
+++ trunk/darwinbuild/darwinbuild.common	2009-06-16 22:50:35 UTC (rev 524)
@@ -356,7 +356,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.hdrs.tar.gz" \
 					"$sites"
@@ -402,7 +402,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