From f4a2b89ecb9ed2293b54d48cd124f6bf410aa915 Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Mon, 27 Mar 2017 03:07:45 +0200
Subject: [PATCH] bf

---
 run.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/run.sh b/run.sh
index 21e90f8..b6851e3 100644
--- a/run.sh
+++ b/run.sh
@@ -6,15 +6,15 @@ shutdown -h +60 "Timeout on VM creation"
 
 if [ -e "/vagrant/build.sh" ]; then
 
-    cp -f /vagrant/build.sh ~
+    cp -f /vagrant/build.sh ~/build.sh
     echo """
-wait""" > ~/build.sh
+wait""" >> ~/build.sh
     bash ~/build.sh
 fi
 
 if [ -e "/vagrant/build_as_vagrant.sh" ]; then
-    cp -f /vagrant/build_as_vagrant.sh ~
+    cp -f /vagrant/build_as_vagrant.sh ~/build_as_vagrant.sh
     echo """
-wait""" > ~/build_as_vagrant.sh
+wait""" >> ~/build_as_vagrant.sh
     sudo -H -u vagrant -- bash ~/build_as_vagrant.sh
 fi
-- 
GitLab