Browse code

Merge "stackrc set the LC_ALL to C"

Jenkins authored on 2015/09/29 05:19:43
Showing 2 changed files
... ...
@@ -27,13 +27,6 @@ set -o xtrace
27 27
 # Make sure custom grep options don't get in the way
28 28
 unset GREP_OPTIONS
29 29
 
30
-# Sanitize language settings to avoid commands bailing out
31
-# with "unsupported locale setting" errors.
32
-unset LANG
33
-unset LANGUAGE
34
-LC_ALL=C
35
-export LC_ALL
36
-
37 30
 # Make sure umask is sane
38 31
 umask 022
39 32
 
... ...
@@ -7,6 +7,13 @@
7 7
 [[ -z "$_DEVSTACK_STACKRC" ]] || return 0
8 8
 declare -r _DEVSTACK_STACKRC=1
9 9
 
10
+# Sanitize language settings to avoid commands bailing out
11
+# with "unsupported locale setting" errors.
12
+unset LANG
13
+unset LANGUAGE
14
+LC_ALL=C
15
+export LC_ALL
16
+
10 17
 # Find the other rc files
11 18
 RC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
12 19