summaryrefslogtreecommitdiff
path: root/bin/itzks-build-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-03 16:12:12 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-03 16:12:12 +0100
commit13463bb908d9bf628bb12d1aa32090a13a9626c2 (patch)
treeee462faf662b01859d5639da1f2c080fcf8a2a5d /bin/itzks-build-package
parentbbc82eba9905e1d831566f6e5df9d5dc82e33d7b (diff)
downloadbuildscripts-13463bb908d9bf628bb12d1aa32090a13a9626c2.tar.gz
buildscripts-13463bb908d9bf628bb12d1aa32090a13a9626c2.tar.bz2
buildscripts-13463bb908d9bf628bb12d1aa32090a13a9626c2.zip
make git server configurable at beginning of script
Diffstat (limited to 'bin/itzks-build-package')
-rwxr-xr-xbin/itzks-build-package4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/itzks-build-package b/bin/itzks-build-package
index 9dae301..35d8b49 100755
--- a/bin/itzks-build-package
+++ b/bin/itzks-build-package
@@ -21,6 +21,8 @@ test -z $1 && { echo "usage: <itzks-git-project> {main,main/<codename>,nightly,n
set -ex
+GIT_SERVER="code.it-zukunft-schule.de"
+
set_vars() {
USE_SUDO="yes"
PDEBUILD="pdebuild --pbuilder qemubuilder"
@@ -112,7 +114,7 @@ prepare_workspace() {
git reset --hard
else
cd $(dirname $PROJECT_DIR)
- git clone git://code.das-netzwerkteam.de/itzks/$PROJECT.git
+ git clone git://$GIT_SERVER/$PROJECT.git
cd $PROJECT
git checkout --force $CHECKOUT || git checkout --force -b $CHECKOUT;
fi