[darwinbuild-changes] [543] trunk/darwinbuild/darwinbuild.in
source_changes at macosforge.org
source_changes at macosforge.org
Sun Aug 9 13:33:04 PDT 2009
Revision: 543
http://trac.macosforge.org/projects/darwinbuild/changeset/543
Author: wsiegrist at apple.com
Date: 2009-08-09 13:33:01 -0700 (Sun, 09 Aug 2009)
Log Message:
-----------
Fix fetching of parent plists when using -init http://...
Modified Paths:
--------------
trunk/darwinbuild/darwinbuild.in
Modified: trunk/darwinbuild/darwinbuild.in
===================================================================
--- trunk/darwinbuild/darwinbuild.in 2009-08-09 19:58:14 UTC (rev 542)
+++ trunk/darwinbuild/darwinbuild.in 2009-08-09 20:33:01 UTC (rev 543)
@@ -158,9 +158,8 @@
# user gave a local path to a plist
filepath="$build"
filename=$(basename "$filepath")
- build=$(echo "$filename" | sed 's/.plist$//')
# since we don't want to download this, copy it
- cp "$filepath" ".build/$build.plist"
+ cp "$filepath" ".build/$filename"
elif [ $(echo $build | grep 'http://') ]; then
# user gave a URL to a webserver
host=$(dirname $build)
@@ -170,8 +169,8 @@
# user provided user at host:/path/file.plist
filename=$(basename $build)
scp $build .build/
- build=$(echo "$filename" | sed 's/.plist$//')
fi
+ build=$(echo "$filename" | sed 's/.plist$//')
echo "$build" > .build/build
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20090809/87d02cae/attachment.html>
More information about the darwinbuild-changes
mailing list