summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/noderun
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-03-23 20:54:54 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-03-23 20:54:54 +0000
commit2c01b367406af8f1157f970dde5c2952d251c5b7 (patch)
treeb1aa0edb169d558b8ccb30fba5fbcada98dc1aac /tools/linux_packaging/noderun
parent6831fb962241dbaaa98ce34d2373060233f7393a (diff)
drop need for argument to "noderun" when building binaries on VMs
git-svn-id: svn://localhost/ardour2/branches/3.0@9195 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools/linux_packaging/noderun')
-rw-r--r--tools/linux_packaging/noderun8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/linux_packaging/noderun b/tools/linux_packaging/noderun
index f5f5ed4d7f..054a5c9899 100644
--- a/tools/linux_packaging/noderun
+++ b/tools/linux_packaging/noderun
@@ -1,10 +1,8 @@
#!/bin/sh
-BASE=$1
-
-if [ x$BASE = "x" ] ; then
- exit 1
-fi
+BASE=$(readlink -f $0)
+BASE=$(dirname $BASE) # up one
+BASE=$(dirname $BASE) # up one more
if mount | grep --silent vmshare ; then
sudo mount -t vboxsf vmshare $HOME/vmshare