~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to tools/linux_packaging/noderun

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2013-09-21 19:05:02 UTC
  • Revision ID: package-import@ubuntu.com-20130921190502-8gsftrku6jnzhd7v
Tags: upstream-3.4~dfsg
ImportĀ upstreamĀ versionĀ 3.4~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 || 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