Revision
547
Author
wsiegrist@apple.com
Date
2009-08-24 15:01:12 -0700 (Mon, 24 Aug 2009)

Log Message

Fix "no such file" errors when trying to initialize with a local plist

Modified Paths

Diff

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


--- trunk/darwinbuild/darwinbuild.in	2009-08-13 19:00:33 UTC (rev 546)
+++ trunk/darwinbuild/darwinbuild.in	2009-08-24 22:01:12 UTC (rev 547)
@@ -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 "$filepath" ".build/$filename"
+		cp "$filename" ".build/$filename"
 	elif [ $(echo $build | grep 'http://') ]; then
 		# user gave a URL to a webserver
 		host=$(dirname $build)