ardour/tools/linux_packaging/noderun
Paul Davis 92c6b6a45b force mount of shared folder before build, and copy result there when done
git-svn-id: svn://localhost/ardour2/branches/3.0@9182 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-21 21:28:43 +00:00

25 lines
466 B
Bash

#!/bin/sh
BASE=$1
if [ x$BASE = "x" ] ; then
exit 1
fi
if mount | grep --silent vmshare ; then
:
else
sudo mount -t vboxsf vmshare ~/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 ardour.org ..."
scp $file ardour@ardour.org:ardour.org/files || exit 1
exit 0