summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-04-25 01:04:14 +0200
committerX2go Administrator <x2go-admin@minobo.das-netzwerkteam.de>2011-04-25 01:04:14 +0200
commitad502decde5f28344f355bb6b09d8c8296a179d6 (patch)
tree1686cf63ed00e3d3e77dc26d546e09dec19a7f90 /bin
parent2bd8587d8ce45a5080529f2aa682b61f01d863f0 (diff)
downloadbuildscripts-ad502decde5f28344f355bb6b09d8c8296a179d6.tar.gz
buildscripts-ad502decde5f28344f355bb6b09d8c8296a179d6.tar.bz2
buildscripts-ad502decde5f28344f355bb6b09d8c8296a179d6.zip
creates TEMP_BASE folder if not exists
Diffstat (limited to 'bin')
-rwxr-xr-xbin/x2go-buildpackage2
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])