| ... | ... |
@@ -23,6 +23,13 @@ |
| 23 | 23 |
# Make sure custom grep options don't get in the way |
| 24 | 24 |
unset GREP_OPTIONS |
| 25 | 25 |
|
| 26 |
+# Sanitize language settings to avoid commands bailing out |
|
| 27 |
+# with "unsupported locale setting" errors. |
|
| 28 |
+unset LANG |
|
| 29 |
+unset LANGUAGE |
|
| 30 |
+LC_ALL=C |
|
| 31 |
+export LC_ALL |
|
| 32 |
+ |
|
| 26 | 33 |
# Keep track of the devstack directory |
| 27 | 34 |
TOP_DIR=$(cd $(dirname "$0") && pwd) |
| 28 | 35 |
|