X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Flinux_packaging%2Fnoderun;h=90ed7f9d1ce525fcd2913ac8be15e0fd27a3cb78;hb=adc84271ba721fdf49f4c0542e1ce3a4aca6fa2e;hp=6041aabf44fdcdd03c691aa5edd3919293fd2c73;hpb=7427334d4b2d70ba6cf434a297a90a1f2dcaecaa;p=ardour.git diff --git a/tools/linux_packaging/noderun b/tools/linux_packaging/noderun index 6041aabf44..90ed7f9d1c 100644 --- a/tools/linux_packaging/noderun +++ b/tools/linux_packaging/noderun @@ -1,20 +1,23 @@ #!/bin/sh -BASE=$1 +BASE=$(readlink -f $0) +BASE=$(dirname $BASE) # up one +BASE=$(dirname $BASE) # up one more +BASE=$(dirname $BASE) # up again -if [ x$BASE = "x" ] ; then - exit 1 +if mount | grep --silent vmshare ; then + sudo mount -t vboxsf vmshare $HOME/vmshare fi cd $BASE || exit 1 -svn update || exit 1 -./waf configure --strict || exit 1 +git pull || exit 1 +./waf configure $* --strict --noconfirm --also-libdir=$HOME/a3/inst/lib --also-include=$HOME/gtk/inst/include --with-backends=jack,alsa || exit 1 ./waf || exit 1 cd tools/linux_packaging || exit 1 -./build --public || exit 1 -file=`ls -t *.bz2 | head -1` -cp $file $BASE/../vmshare || exit 1 -exit 0 - - +./build --public --harvid --strip some || exit 1 +./package --public --singlearch || exit 1 +file=`ls -t *.tar` +echo "Copying $file to shared folder ..." +sudo cp $file $HOME/vmshare || exit 1 +exit 0