summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-22 18:01:00 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-22 18:01:00 +0100
commitff0038d9c6d1164a8e2c10618cd88b9c80d7c560 (patch)
tree3eec88ad29cc564237aad631eedab86bc07660c5 /hosts
parenta97f442fbed6476a57b5850076f0203766e2690c (diff)
downloadjenkins.debian.net-ff0038d9c6d1164a8e2c10618cd88b9c80d7c560.tar.xz
reproducible Debian: $HOSTNAME is a bashism…
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts')
-rwxr-xr-xhosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7e0e6142..d317b117 100755
--- a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -10,7 +10,7 @@ BUILDDIR="${BUILDDIR:-/tmp/buildd}"
#
# doing variations for the 2nd builds:
#
-REAL_HOSTNAME=$HOSTNAME
+REAL_HOSTNAME=$(hostname)
echo "disorder-fs debug: Running on $REAL_HOSTNAME."
echo "I: Changing host+domainname to test build reproducibility" >&2