summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-04-20 02:35:38 +0200
committerX2go Administrator <x2go-admin@ymir.das-netzwerkteam.de>2011-04-20 02:35:38 +0200
commitde9f6b5bfa60f1bfa94617fc449517b8af72ffc0 (patch)
tree1868b09ee73d0915749831c78c7b8a3eda99b553 /bin
parent5d7c792395eb03e293170f041c0fb47819d4714d (diff)
downloadbuildscripts-de9f6b5bfa60f1bfa94617fc449517b8af72ffc0.tar.gz
buildscripts-de9f6b5bfa60f1bfa94617fc449517b8af72ffc0.tar.bz2
buildscripts-de9f6b5bfa60f1bfa94617fc449517b8af72ffc0.zip
build packages in $TEMP_DIR
Diffstat (limited to 'bin')
-rwxr-xr-xbin/x2go-buildpackage5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/x2go-buildpackage b/bin/x2go-buildpackage
index 07d5057..b7311e8 100755
--- a/bin/x2go-buildpackage
+++ b/bin/x2go-buildpackage
@@ -64,8 +64,9 @@ cat BUILDS_FOR | egrep -v '(^$|^#.*$)' | while read line; do
echo "$DIST_SUPPORTED" | grep $l_DIST >/dev/null && {
for l_CODENAME in $CODENAMES; do
TEMP_DIR="$(mktemp -d)"
- git clone git://code.x2go.org/$PACKAGE.git $TEMP_DIR/
- cd $TEMP_DIR/
+ mkdir -p $TEMP_DIR/$PACKAGE
+ git clone git://code.x2go.org/$PACKAGE.git $TEMP_DIR/$PACKAGE/
+ cd $TEMP_DIR/$PACKAGE
# translate the version name for Debian releases
[ "x$l_CODENAME" = "xsid" ] && VERSION=unstable
[ "x$l_CODENAME" = "xwheezy" ] && VERSION=testing