projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f83a35e
)
More vmbuild fixes.
author
Carl Hetherington
<cth@carlh.net>
Mon, 5 Oct 2015 18:56:52 +0000
(19:56 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 5 Oct 2015 18:56:52 +0000
(19:56 +0100)
vmbuild
patch
|
blob
|
history
diff --git
a/vmbuild
b/vmbuild
index 09dd689c9b634c85145dab919854a0ca2708fe55..25f068852701ce759e9bbaf7713a1409e865f58c 100755
(executable)
--- 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"