summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/noderun
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linux_packaging/noderun')
-rw-r--r--tools/linux_packaging/noderun4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/linux_packaging/noderun b/tools/linux_packaging/noderun
index af760e32cb..f5f5ed4d7f 100644
--- a/tools/linux_packaging/noderun
+++ b/tools/linux_packaging/noderun
@@ -7,8 +7,6 @@ if [ x$BASE = "x" ] ; then
fi
if mount | grep --silent vmshare ; then
- :
-else
sudo mount -t vboxsf vmshare $HOME/vmshare
fi
@@ -20,6 +18,6 @@ cd tools/linux_packaging || exit 1
./build --public --nostrip || exit 1
file=`ls -t *.bz2 | head -1`
echo "Copying $file to shared folder ..."
-cp $file $HOME/vmshare || exit 1
+sudo cp $file $HOME/vmshare || exit 1
exit 0