summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build9-amd64
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-08-14 09:50:09 +0000
committerHolger Levsen <holger@layer-acht.org>2016-08-14 13:39:40 +0200
commit81f8e9471544d755e091e072f596bd7e60c88555 (patch)
treec48f6a6719542c00a6b351ef3d2da681f6ccfe9c /hosts/profitbricks-build9-amd64
parent0a884f9bafac8c93c84734e5bd2a195997c28ca1 (diff)
downloadjenkins.debian.net-81f8e9471544d755e091e072f596bd7e60c88555.tar.xz
pbuilderrc: use PBUILDER_OPERATION instead of undocumented PBCURRENTCOMMANDLINEOPERATION
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/profitbricks-build9-amd64')
-rw-r--r--hosts/profitbricks-build9-amd64/etc/pbuilderrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/hosts/profitbricks-build9-amd64/etc/pbuilderrc b/hosts/profitbricks-build9-amd64/etc/pbuilderrc
index dea83aaf..2e8e4074 100644
--- a/hosts/profitbricks-build9-amd64/etc/pbuilderrc
+++ b/hosts/profitbricks-build9-amd64/etc/pbuilderrc
@@ -6,7 +6,7 @@
# read pbuilderrc.5 document for notes on specific options.
#
# cater for different locations
-case $HOSTNAME in
+case $HOSTNAME in
jenkins|jenkins-test-vm|profitbricks-build*) MIRRORSITE=http://ftp.de.debian.org/debian ;;
bbx15|bpi0|cbxi4*|cb3*|hb0|wbq0|odxu4*|odu3*|wbd0|rpi2*|ff2*|ff4*|opi2*) MIRRORSITE=http://ftp.us.debian.org/debian ;;
*) echo "unsupported host, exiting." ; exit 1 ;;
@@ -42,10 +42,10 @@ fi
# needed to ignore failures due to running 398 days in the future…
# (only on those 2 nodes running in the future…)
if [ "$HOSTNAME" = "profitbricks-build5-amd64" ] || [ "$HOSTNAME" = "profitbricks-build6-i386" ] ; then
- case "$PBCURRENTCOMMANDLINEOPERATION" in
- --create|create)
- APTGETOPT=(-o Acquire::Check-Valid-Until="false")
- ;;
- *) ;;
+ case "$PBUILDER_OPERATION" in
+ create)
+ APTGETOPT=(-o Acquire::Check-Valid-Until="false")
+ ;;
+ *) ;;
esac
fi