13
0
livetrax/tools/linux_packaging/noderun
Paul Davis 20fa01097c tweak noderun script
git-svn-id: svn://localhost/ardour2/branches/3.0@12177 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-04 03:35:30 +00:00

24 lines
623 B
Bash

#!/bin/sh
BASE=$(readlink -f $0)
BASE=$(dirname $BASE) # up one
BASE=$(dirname $BASE) # up one more
BASE=$(dirname $BASE) # up again
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 --also-include=$HOME/a3/inst/include --also-libdir=$HOME/gtk/inst/lib || exit 1
./waf || exit 1
cd tools/linux_packaging || exit 1
./build --public --strip some || exit 1
./package --public --singlearch || exit 1
file=`ls -t *.tar`
echo "Copying $file to shared folder ..."
sudo cp $file $HOME/vmshare || exit 1
exit 0