summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-11 15:28:10 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-11 15:28:10 +0100
commit88e7c6c70d0ab5b6d6388dd89f7cf979c759ce12 (patch)
treeb04bcf3af7e88bbb924b445e18a9ce9febf067c4 /bin/reproducible_maintenance.sh
parent0b2cdb24f3b720c90cf0243ec3ac8f271d96f7c5 (diff)
downloadjenkins.debian.net-88e7c6c70d0ab5b6d6388dd89f7cf979c759ce12.tar.xz
fixup ee696ff even more: reproducible archlinux maintenance
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 9e273c96..8f8a2b31 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -103,7 +103,7 @@ done
set -e
# for Archlinux
-if [ "$(hostname -f)" = "${ARCHLINUX_BUILD_NODE}" ] ; then
+if [ "$HOSTNAME" = "${ARCHLINUX_BUILD_NODE}" ] ; then
echo "$(date -u) - updating Archlinux schroot now."
schroot --directory /tmp -c source:jenkins-reproducible-archlinux -u root -- pacman -Syu --noconfirm
echo "$(date -u) - updating Archlinux schroot done."