diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-05 19:56:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-05 19:56:52 +0100 |
| commit | 78c9faf0f0fb9dfbd65cd3e8bf48a8d2f7e4e692 (patch) | |
| tree | 6bdc2b944f7b940a9a156bdaa86e88750b4b5db2 | |
| parent | f83a35e904ea398a6b169afa72dfcadeb0cf7383 (diff) | |
More vmbuild fixes.
| -rwxr-xr-x | vmbuild | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -26,7 +26,11 @@ sleep 10 ssh -p $port carl@localhost "rm -rf fedora-*" ssh -p $port carl@localhost cdist -p dcpomatic -c $checkout -t host package if [ "$output" != "" ]; then - scp -P $port carl@localhost:fedora-22-$bits/* $output/ + tmp=/var/tmp/copy.$$ + mkdir -p $tmp + scp -P $port carl@localhost:fedora-22-$bits/* $tmp/ + scp $tmp/*.rpm $output/ + rm -rf $tmp fi set +e ssh -p $port carl@localhost "sudo /sbin/poweroff" |
