13
0

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
This commit is contained in:
Paul Davis 2011-03-23 20:54:54 +00:00
parent 6831fb9622
commit 2c01b36740
2 changed files with 3 additions and 7 deletions

View File

@ -1,10 +1,8 @@
#!/bin/sh #!/bin/sh
BASE=$1 BASE=$(readlink -f $0)
BASE=$(dirname $BASE) # up one
if [ x$BASE = "x" ] ; then BASE=$(dirname $BASE) # up one more
exit 1
fi
if mount | grep --silent vmshare ; then if mount | grep --silent vmshare ; then
sudo mount -t vboxsf vmshare $HOME/vmshare sudo mount -t vboxsf vmshare $HOME/vmshare

View File

@ -12,9 +12,7 @@ for VM in Build_32bit_804s Build_64bit_804s ; do
sleep 12 sleep 12
echo "$VM: Running $tooldir/noderun $basedir on $VM ... " echo "$VM: Running $tooldir/noderun $basedir on $VM ... "
$vbm guestcontrol exec $VM /bin/sh \ $vbm guestcontrol exec $VM /bin/sh \
--arguments -vx \
--arguments $tooldir/noderun \ --arguments $tooldir/noderun \
--arguments $basedir \
--environment PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ --environment PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
--username $u --password $p --wait-for stdout --username $u --password $p --wait-for stdout
status=$? status=$?