X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Flinux_packaging%2Fnoderun;h=a6357ef48837f1d5ec66855a57eed0491fab9577;hb=6fc1f270137a06115a79c6089004174c5cab5ed7;hp=99eeb04d01f7330dce95138d94affe0c2a25e007;hpb=5e0c8d1015370d00ba86e40b27a0ddc0b3334a5e;p=ardour.git diff --git a/tools/linux_packaging/noderun b/tools/linux_packaging/noderun index 99eeb04d01..a6357ef488 100644 --- a/tools/linux_packaging/noderun +++ b/tools/linux_packaging/noderun @@ -1,19 +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 --noconfirm || exit 1 +git pull || exit 1 +./waf configure $* --strict --noconfirm --also-libdir=$HOME/a3/inst/lib --also-include=$HOME/gtk/inst/include || exit 1 ./waf || exit 1 cd tools/linux_packaging || exit 1 -./build --public || exit 1 -file=`ls -t *.bz2 | head -1` -echo "Copying $file to shared zone" -#cp $file $BASE/../vmshare || exit 1 +./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