2011-03-21 19:00:30 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
2011-03-23 20:54:54 +00:00
|
|
|
BASE=$(readlink -f $0)
|
|
|
|
|
BASE=$(dirname $BASE) # up one
|
|
|
|
|
BASE=$(dirname $BASE) # up one more
|
2011-03-23 20:55:59 +00:00
|
|
|
BASE=$(dirname $BASE) # up again
|
2011-03-21 19:00:30 +00:00
|
|
|
|
2011-03-21 21:28:43 +00:00
|
|
|
if mount | grep --silent vmshare ; then
|
2011-03-21 21:29:18 +00:00
|
|
|
sudo mount -t vboxsf vmshare $HOME/vmshare
|
2011-03-21 21:28:43 +00:00
|
|
|
fi
|
|
|
|
|
|
2011-03-21 19:00:30 +00:00
|
|
|
cd $BASE || exit 1
|
2013-03-14 17:14:39 -04:00
|
|
|
git pull || exit 1
|
2014-12-18 11:47:41 -05:00
|
|
|
./waf configure $* --strict --noconfirm --also-libdir=$HOME/a3/inst/lib --also-include=$HOME/gtk/inst/include --with-backends=jack,alsa || exit 1
|
2011-03-21 19:00:30 +00:00
|
|
|
./waf || exit 1
|
|
|
|
|
cd tools/linux_packaging || exit 1
|
2013-06-11 09:30:56 -04:00
|
|
|
./build --public --harvid --strip some || exit 1
|
2011-05-25 22:13:24 +00:00
|
|
|
./package --public --singlearch || exit 1
|
2011-03-25 21:49:01 +00:00
|
|
|
file=`ls -t *.tar`
|
2011-03-21 21:29:18 +00:00
|
|
|
echo "Copying $file to shared folder ..."
|
2011-03-21 22:17:11 +00:00
|
|
|
sudo cp $file $HOME/vmshare || exit 1
|
2011-03-21 19:00:30 +00:00
|
|
|
|
2011-03-21 19:12:54 +00:00
|
|
|
exit 0
|