diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-04-25 02:51:16 +0200 |
---|---|---|
committer | X2go Administrator <x2go-admin@minobo.das-netzwerkteam.de> | 2011-04-25 17:42:35 +0200 |
commit | 8cffc8a77bfa143c7b64e4c757ca790275ac262d (patch) | |
tree | 1046ffe7817d7242cd3dc47dd759f9483b78d2b9 | |
parent | 04d055b08323ef7753f7da1a08957157a4dd2841 (diff) | |
download | buildscripts-8cffc8a77bfa143c7b64e4c757ca790275ac262d.tar.gz buildscripts-8cffc8a77bfa143c7b64e4c757ca790275ac262d.tar.bz2 buildscripts-8cffc8a77bfa143c7b64e4c757ca790275ac262d.zip |
fixes PACKAGE_DIR path when running git-clone
-rwxr-xr-x | bin/x2go-buildpackage | 2 | ||||
-rw-r--r-- | home/.pbuilderrc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/x2go-buildpackage b/bin/x2go-buildpackage index 2fc12f6..dcaf1fb 100755 --- a/bin/x2go-buildpackage +++ b/bin/x2go-buildpackage @@ -38,7 +38,7 @@ PKGDIST="$HOME/pkg-dist/$PACKAGE" rm -f $PACKAGE_DIR/BUILDS_FOR # make sure our local working copy is up to date... -test -d $PACKAGE_DIR/.git && { cd $PACKAGE_DIR && git reset --hard; git pull; git checkout $CHECKOUT; } || { git clone git://code.x2go.org/$PACKAGE.git && cd $PACKAGE_DIR && git checkout $CHECKOUT; } +test -d $PACKAGE_DIR/.git && { cd $PACKAGE_DIR && git reset --hard; git pull; git checkout $CHECKOUT; } || { cd $PACKAGE_DIR && git clone git://code.x2go.org/$PACKAGE.git && git checkout $CHECKOUT; } cd $PACKAGE_DIR # by default we build for all current debian versions diff --git a/home/.pbuilderrc b/home/.pbuilderrc index 52fe0ca..a2bb343 100644 --- a/home/.pbuilderrc +++ b/home/.pbuilderrc @@ -41,7 +41,8 @@ fi if [ "x${DIST}" = "xubuntu" ]; then MIRRORSITE="http://localhost:9999/ubuntu" elif [ "x${DIST}" = "xdebian" ]; then - MIRRORSITE="http://localhost:9999/debian" + MIRRORSITE="http://ftp.de.debian.org/debian" + MIRRORSITE="http://localhost:3142/debian" OTHERMIRROR="deb http://code.x2go.org/debian $CODENAME main" fi |