summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build3-amd64/etc/pbuilderrc
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profitbricks-build3-amd64/etc/pbuilderrc')
-rw-r--r--hosts/profitbricks-build3-amd64/etc/pbuilderrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/pbuilderrc b/hosts/profitbricks-build3-amd64/etc/pbuilderrc
index dea83aaf..2e8e4074 100644
--- a/hosts/profitbricks-build3-amd64/etc/pbuilderrc
+++ b/hosts/profitbricks-build3-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