Use LC_ALL instead of LANG to force locale to C

This is an explicit override that even works if one of the other LC_*
variables are set. The LC_ALL variable also needs to be exported.
This commit is contained in:
Simon Richter 2018-05-25 15:26:36 +02:00 committed by nickoe
parent 1564afc98a
commit fd5af143d2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
#
#####################################
LANG=C
export LC_ALL=C
display_help() {
echo "Usage: $0 [-k] [-p] [locale]"