Browse code

Merge "Revert "stackrc set the LC_ALL to C""

Jenkins authored on 2016/08/30 15:10:58
Showing 2 changed files
... ...
@@ -27,6 +27,13 @@ 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
+
30 37
 # Make sure umask is sane
31 38
 umask 022
32 39
 
... ...
@@ -7,13 +7,6 @@
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
-
17 10
 # Find the other rc files
18 11
 RC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
19 12