summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-29 11:34:22 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-29 11:34:22 +0100
commit2802c2acfc0c77ee56dedb1c5d588eb5cbe6ce5c (patch)
treed6add314bf6d66ccfe589b730e75d35c090f8028 /bin
parentfa5011ab14d4fa8b30a5d1bb29963f988f92fafc (diff)
downloadjenkins.debian.net-2802c2acfc0c77ee56dedb1c5d588eb5cbe6ce5c.tar.xz
edu packages: build italc with gbp defaults
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chroot-run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index 858f46e0..813ef564 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -141,7 +141,8 @@ echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/23jenkins
apt-get install build-essential devscripts git
if [ "$1" = "gbp" ] ; then
apt-get install git-buildpackage
- git checkout debian
+ # either there is a debian branch or not
+ git checkout debian || echo "No debian branch exists, assuming packaging is in master branch."
fi
if [ -f debian/control ] ; then
cat debian/control