Tweak output of vmbuild.
[cdist.git] / vmbuild
diff --git a/vmbuild b/vmbuild
index c83cc74099a395a042017ecad37c49e4075062df..1906c426435b02c1215cd84af8510759f3b29e65 100755 (executable)
--- a/vmbuild
+++ b/vmbuild
@@ -26,8 +26,8 @@ sleep 10
 ssh -p $port carl@localhost "rm -rf fedora-*"
 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
+    echo "copy from vm to $output..."
     tmp=/var/tmp/copy.$$
     mkdir -p $tmp
     scp -P $port carl@localhost:fedora-22-$bits/* $tmp/