diff options
| author | Carl Hetherington <c.hetherington@yorksj.ac.uk> | 2015-10-05 19:57:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <c.hetherington@yorksj.ac.uk> | 2015-10-05 19:57:30 +0100 |
| commit | d889728e3a1d58617a84f3f4ba79d9264fe687cf (patch) | |
| tree | bc2e8ad05a2b0953dccc1ccac81670544a8172e7 /vmbuild | |
| parent | d2977e717dfa1c0de9d0255a3b27616b2c74ce5f (diff) | |
| parent | 78c9faf0f0fb9dfbd65cd3e8bf48a8d2f7e4e692 (diff) | |
Merge branch 'master' of git.carlh.net:git/cdist
Diffstat (limited to 'vmbuild')
| -rwxr-xr-x | vmbuild | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -28,7 +28,11 @@ echo "run cdist..." ssh -p $port carl@localhost cdist -p dcpomatic -c $checkout -t host package echo "copy from vm to $output..." 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 echo "power off vm..." |
