~teejee2008/timeshift/trunk

20 by Tony George
Updated build scripts
1
#!/bin/bash
2
3
backup=`pwd`
4
DIR="$( cd "$( dirname "$0" )" && pwd )"
5
cd "$DIR"
6
7
sh build-source.sh
8
36 by Tony George
Improved detection of disk partitions
9
#check for errors
10
if [ $? -ne 0 ]; then
11
	cd "$backup"
12
	echo "Failed"
13
	exit 1
14
fi
15
20 by Tony George
Updated build scripts
16
echo "Pushing new revisions to launchpad..."
13 by Tony George
Update build scripts
17
bzr push lp:~teejee2008/timeshift/trunk
20 by Tony George
Updated build scripts
18
36 by Tony George
Improved detection of disk partitions
19
#check for errors
20
if [ $? -ne 0 ]; then
21
	cd "$backup"
22
	echo "Failed"
23
	exit 1
24
fi
25
20 by Tony George
Updated build scripts
26
cd "$backup"
27
28
29
30