Go back to checkout string for vmbuild.
authorCarl Hetherington <cth@carlh.net>
Sat, 3 Oct 2015 21:23:28 +0000 (22:23 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 3 Oct 2015 21:23:28 +0000 (22:23 +0100)
vmbuild

diff --git a/vmbuild b/vmbuild
index 197184cbf2629400db9066d85e835152e73b6f6d..80c7726013d8ade638c9dcdb8699c66cca1f6353 100755 (executable)
--- a/vmbuild
+++ b/vmbuild
@@ -2,7 +2,7 @@
 set -e
 
 if [ "$1" == "" -o "$2" == "" ]; then
-    echo "Syntax: $0 <target> <version> [<output-dir>]"
+    echo "Syntax: $0 <target> <checkout> [<output-dir>]"
     exit 1
 fi
 
@@ -24,7 +24,7 @@ nohup vboxheadless --startvm fedora-22-$bits &
 vbox=$!
 sleep 10
 ssh -p $port carl@localhost "rm -rf fedora-*"
-ssh -p $port carl@localhost cdist -p dcpomatic -c v$checkout -t host package
+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/
 fi