diff options
author | Robert Xu <robxu9@gmail.com> | 2011-08-14 22:18:41 -0400 |
---|---|---|
committer | Robert Xu <robxu9@gmail.com> | 2011-08-14 22:18:41 -0400 |
commit | fbc1d6223981533b363c7688d825ba56e26c0b40 (patch) | |
tree | e29437a5ce481a23c473c6e4d6a69f41dad1d0a2 /opensuse/gentarball | |
parent | e8724f63ecf6c4b6ce612fd56ff81c27a028b70d (diff) | |
download | tde-packaging-fbc1d6223981533b363c7688d825ba56e26c0b40.tar.gz tde-packaging-fbc1d6223981533b363c7688d825ba56e26c0b40.zip |
myriad of little fixes
Diffstat (limited to 'opensuse/gentarball')
-rwxr-xr-x | opensuse/gentarball | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/opensuse/gentarball b/opensuse/gentarball index 593539a5a..20df73b6b 100755 --- a/opensuse/gentarball +++ b/opensuse/gentarball @@ -5,18 +5,25 @@ if [ "$1" == "" ]; then VERSION=3.5.12.99 fi -grabDependsTarball() +createTarball() { -svn export svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/$NAME -mv -v $NAME $NAME-$VERSION +cp -r $NAME $NAME-$VERSION tar cjf $NAME-$VERSION.tar.bz2 $NAME-$VERSION rm -rf $NAME-$VERSION -echo "done" } +grabDepends() +{ +svn export svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/$NAME +createTarball +rm -rf $NAME +echo "done" +} -echo "This is for testing locally without services." -echo "I need to know what tarball you want to generate from." +echo "I need to know what you want to generate a tarball for." +echo "" +echo "Version is set to $VERSION. If you want to change it," +echo "please pass it as a parameter to this script." echo "" echo "Let's start off by dependencies, main, or apps." echo "Which one?" @@ -28,6 +35,8 @@ echo -e "> " read SELECTION if [ "$SELECTION" = "1" ]; then + clear + echo "Dependencies: Select what you want us to generate." echo "(1) libtqt4" echo "(2) dbus-1-tqt" echo "(3) libdbus-1-tqt-0" @@ -41,7 +50,7 @@ if [ "$SELECTION" = "1" ]; then else echo "Invalid, bye." && exit 1 fi - grabDependsTarball + grabDepends else echo "Invalid, bye." && exit 1 fi |