Revision: 543 http://trac.macosforge.org/projects/darwinbuild/changeset/543 Author: wsiegrist@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@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
participants (1)
-
source_changes@macosforge.org