Switch locale to C
Remove the explicit installation of an English language pack and instead just default LANG to C. This settls Perl's noisy warnings and also stops any side effects of different language build hosts. Note that this is set right at the start of the build process, so it should be entirely possible to override if needs be. Change-Id: Id3b31162d4198fa02dc5a4d11168e57dbcd14a5d
This commit is contained in:
parent
15a1ad0b5b
commit
15dbc42d72
@ -17,6 +17,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
# Prevent perl from complaining a lot, but also remove any unexpected side-effects
|
||||
# of $LANG varying between build hosts
|
||||
export LANG=C
|
||||
|
||||
SCRIPTNAME=$(basename $0)
|
||||
SCRIPT_HOME=$(dirname $0)
|
||||
export _LIB=$(dirname $0)/../lib
|
||||
|
@ -4,5 +4,5 @@
|
||||
set -e
|
||||
|
||||
apt-get -y update
|
||||
apt-get -y install python-software-properties language-pack-en
|
||||
apt-get -y install python-software-properties
|
||||
add-apt-repository -y ppa:tripleo/demo
|
||||
|
Loading…
Reference in New Issue
Block a user