get that last commit right
[ardour2.git] / tools / linux_packaging / noderun
blob2a4166f7a0c57f55f657ddb3731c6c13cdad9761
1 #!/bin/sh
3 BASE=$(readlink -f $0)
4 BASE=$(dirname $BASE) # up one
5 BASE=$(dirname $BASE) # up one more
6 BASE=$(dirname $BASE) # up again
8 if mount | grep --silent vmshare ; then
9 sudo mount -t vboxsf vmshare $HOME/vmshare
12 cd $BASE || exit 1
13 svn update || exit 1
14 ./waf configure --strict --noconfirm || exit 1
15 ./waf || exit 1
16 cd tools/linux_packaging || exit 1
17 ./build --public --nostrip || exit 1
18 file=`ls -t *.bz2 | head -1`
19 echo "Copying $file to shared folder ..."
20 sudo cp $file $HOME/vmshare || exit 1
22 exit 0