Revision
541
Author
wsiegrist@apple.com
Date
2009-08-09 01:18:55 -0700 (Sun, 09 Aug 2009)

Log Message

Minor cleanup to fetch code

Modified Paths

Diff

Modified: trunk/darwinbuild/darwinbuild.in (540 => 541)


--- trunk/darwinbuild/darwinbuild.in	2009-08-01 06:50:08 UTC (rev 540)
+++ trunk/darwinbuild/darwinbuild.in	2009-08-09 08:18:55 UTC (rev 541)
@@ -451,15 +451,17 @@
 ###
 if [ "$nosource" != "YES" ]; then
 	echo "*** Fetching Sources ..."
+
 	# project might be a build alias
 	if [ "$alias" != "" ]; then
 		filename="$alias-$version.tar.gz"
 	else
 		filename="$project.tar.gz"
 	fi
+
+	Download "$SourceCache" "$filename" "$($DARWINXREF source_sites $projnam)"
+
 	patchfilenames=$($DARWINXREF patchfiles $projnam)
-	#echo "patchfiles are $patchfilenames"
-	Download "$SourceCache" "$filename" "$($DARWINXREF source_sites $projnam)"
 	for p in $patchfilenames; do
 	    Download "$SourceCache" "$p" "$($DARWINXREF source_sites $projnam)"    
 	done