Revision
548
Author
wsiegrist@apple.com
Date
2009-08-24 15:07:22 -0700 (Mon, 24 Aug 2009)

Log Message

Really fix -init with local files this time

Modified Paths

Diff

Modified: trunk/darwinbuild/darwinbuild.in (547 => 548)


--- trunk/darwinbuild/darwinbuild.in	2009-08-24 22:01:12 UTC (rev 547)
+++ trunk/darwinbuild/darwinbuild.in	2009-08-24 22:07:22 UTC (rev 548)
@@ -158,7 +158,7 @@
 	if [ -f "$build" ]; then
 		# user gave a local path to a plist
 		# since we don't want to download this, copy it
-		cp "$filename" ".build/$filename"
+		cp "$build" ".build/$filename"
 	elif [ $(echo $build | grep 'http://') ]; then
 		# user gave a URL to a webserver
 		host=$(dirname $build)