Handle command line options.
[GnomeTabletApps.git] / make_package.sh
blob00db99f05a8a7523abcbcc15f5275500be662f7e
1 #!/bin/bash
3 . package_defines.sh
5 svn export src $RELEASE_NAME.orig
6 cd $RELEASE_NAME.orig
7 rm -r debian
8 cd ..
9 svn export src $RELEASE_NAME
10 cd $RELEASE_NAME
11 debuild
12 cd ..
13 rm -r $RELEASE_NAME
15 echo -n "Do you want to install the new .deb? [Y/n]: "
16 read character
17 case $character in
18 [Yy] | "" ) echo "You responded in the affirmative."
19 sudo gdebi *.deb
21 * ) echo "Fine, then."
22 esac