get and deploy harrison binaries.
[ardour.git] / tools / linux_packaging / noderun
1 #!/bin/sh
2
3 BASE=$(readlink -f $0)
4 BASE=$(dirname $BASE) # up one
5 BASE=$(dirname $BASE) # up one more
6 BASE=$(dirname $BASE) # up again
7
8 if mount | grep --silent vmshare ; then
9     sudo mount -t vboxsf vmshare $HOME/vmshare
10 fi
11
12 cd $BASE || exit 1
13 git pull || exit 1
14 ./waf configure $* --strict --noconfirm --also-libdir=$HOME/a3/inst/lib --also-include=$HOME/gtk/inst/include --with-backends=jack,alsa || exit 1
15 ./waf || exit 1
16 cd tools/linux_packaging || exit 1
17 ./build --public --harvid --strip some || exit 1
18 ./package --public --singlearch || exit 1
19 file=`ls -t *.tar`
20 echo "Copying $file to shared folder ..."
21 sudo cp $file $HOME/vmshare || exit 1
22
23 exit 0