diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-04-25 01:04:14 +0200 |
---|---|---|
committer | X2go Administrator <x2go-admin@minobo.das-netzwerkteam.de> | 2011-04-25 01:04:14 +0200 |
commit | ad502decde5f28344f355bb6b09d8c8296a179d6 (patch) | |
tree | 1686cf63ed00e3d3e77dc26d546e09dec19a7f90 /bin | |
parent | 2bd8587d8ce45a5080529f2aa682b61f01d863f0 (diff) | |
download | buildscripts-ad502decde5f28344f355bb6b09d8c8296a179d6.tar.gz buildscripts-ad502decde5f28344f355bb6b09d8c8296a179d6.tar.bz2 buildscripts-ad502decde5f28344f355bb6b09d8c8296a179d6.zip |
creates TEMP_BASE folder if not exists
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/x2go-buildpackage | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/x2go-buildpackage b/bin/x2go-buildpackage index ee280fe..7f018cf 100755 --- a/bin/x2go-buildpackage +++ b/bin/x2go-buildpackage @@ -24,6 +24,7 @@ set -ex USE_SUDO="yes" PDEBUILD="pdebuild --pbuilder qemubuilder" TEMP_BASE="$HOME/tmp/" +mkdir -p "$TEMP_BASE" PACKAGE=$1 CHECKOUT=${2-master} @@ -46,6 +47,7 @@ debian: sid wheezy squeeze #ubuntu: lucid maverick natty EOF + # pkgdist directory cleanup cat BUILDS_FOR | egrep -v '(^$|^#.*$)' | while read line; do l_DIST=$(echo $line | cut -d":" -f1 | tr [A-Z] [a-z]) |