summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/noderun
blob: 0d1a6ea881405fd87c8dffb05e7e7ddd76d54a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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