From 1504c76f112cea56991b33cf92eda2e6c9b2d471 Mon Sep 17 00:00:00 2001 From: gdm85 Date: Wed, 11 Jun 2014 00:00:16 +0200 Subject: [PATCH] Fix issue #56: clean up environment before gbuild'ing Originally proposed by cfields --- bin/gbuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/gbuild b/bin/gbuild index eebad4a..12e8f4f 100755 --- a/bin/gbuild +++ b/bin/gbuild @@ -94,6 +94,8 @@ def build_one_configuration(suite, arch, build_desc, reference_datetime) File.open("var/build-script", "w") do |script| script.puts "#!/bin/bash" script.puts "set -e" + script.puts "export LANG='en_US.UTF-8'" + script.puts "export LC_ALL='en_US.UTF-8'" script.puts "umask 002" script.puts "export OUTDIR=$HOME/out" script.puts "GBUILD_BITS=#{bits}"