From 78c9faf0f0fb9dfbd65cd3e8bf48a8d2f7e4e692 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 5 Oct 2015 19:56:52 +0100 Subject: More vmbuild fixes. --- vmbuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vmbuild b/vmbuild index 09dd689..25f0688 100755 --- a/vmbuild +++ b/vmbuild @@ -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" -- cgit v1.2.3