Commit 44c3eb6c authored by Jelle van der Waa's avatar Jelle van der Waa Committed by Holger Levsen
Browse files

reproducible Archlinux: Set LANG/LC_ALL for build 1



Arch Linux's devtools explicitly sets LANG/LC_ALL, so set it for both
builds but with a different value.

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 9507efe7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -143,6 +143,9 @@ first_build() {
	ACTUAL_SRCPACKAGE=$(ls "$BUILDDIR")
	# modify timezone in the 1st build
	echo 'export TZ="/usr/share/zoneinfo/Etc/GMT+12"' | schroot --run-session -c $SESSION --directory /tmp -- tee -a /var/lib/jenkins/.bashrc
	# set LANG, LC_ALL to the same value as devtools.
	export LANG="en_US.UTF-8"
	export LC_ALL="en_US.UTF-8"
	# some more output for debugging
	set -x
	# remove possible lock in our local session (happens when root maintenance update running while session starts)