From: Ulrich Drepper Date: Fri, 3 Sep 1999 07:12:57 +0000 (+0000) Subject: Set LC_ALL and LANGUAGE to fix locale dependencies in sort. X-Git-Tag: cvs/glibc_2-1-2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=573330a9fd91473a1600c7dce6172edfe99a2714;p=thirdparty%2Fglibc.git Set LC_ALL and LANGUAGE to fix locale dependencies in sort. --- diff --git a/io/ftwtest-sh b/io/ftwtest-sh index dadbfa0ca6f..389c4122e89 100644 --- a/io/ftwtest-sh +++ b/io/ftwtest-sh @@ -16,6 +16,12 @@ if test `id | sed "s/uid=\([0-9]*\).*/\1/"` = 0; then exit 0 fi +# Since we use `sort' we must make sure to use the same locale everywhere. +LC_ALL=C +export LC_ALL +LANG=C +export LANG + # First create our scenario: tmp=`echo ${TMPDIR:-/tmp} | sed 's|\(.\)/*$|\1|'` tmpdir=$tmp/ftwtest.d