13
0
livetrax/tools/linux_packaging/noderun
Paul Davis 78814265e3 final copy needs to be done as root to deal wit vbox mount defaults
git-svn-id: svn://localhost/ardour2/branches/3.0@9184 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-21 22:17:11 +00:00

24 lines
445 B
Bash

#!/bin/sh
BASE=$1
if [ x$BASE = "x" ] ; then
exit 1
fi
if mount | grep --silent vmshare ; then
sudo mount -t vboxsf vmshare $HOME/vmshare
fi
cd $BASE || exit 1
svn update || exit 1
./waf configure --strict --noconfirm || exit 1
./waf || exit 1
cd tools/linux_packaging || exit 1
./build --public --nostrip || exit 1
file=`ls -t *.bz2 | head -1`
echo "Copying $file to shared folder ..."
sudo cp $file $HOME/vmshare || exit 1
exit 0