force mount of shared folder before build, and copy result there when done
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 21 Mar 2011 21:28:43 +0000 (21:28 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 21 Mar 2011 21:28:43 +0000 (21:28 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9182 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/linux_packaging/noderun

index 363f14edb506e2eda3a2e5b05d415c64d6ba6150..0d1a6ea881405fd87c8dffb05e7e7ddd76d54a32 100644 (file)
@@ -6,6 +6,12 @@ if [ x$BASE = "x" ] ; then
    exit 1
 fi
 
+if mount | grep --silent vmshare ; then
+    :
+else
+    sudo mount -t vboxsf vmshare ~/vmshare
+fi
+
 cd $BASE || exit 1
 svn update || exit 1
 ./waf configure --strict --noconfirm || exit 1