Really fix -init with local files this time
--- 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)