]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Set LC_ALL and LANGUAGE to fix locale dependencies in sort.
authorUlrich Drepper <drepper@redhat.com>
Fri, 3 Sep 1999 07:12:57 +0000 (07:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 3 Sep 1999 07:12:57 +0000 (07:12 +0000)
io/ftwtest-sh

index dadbfa0ca6f0ff81445047acbe87b898b3fbfd81..389c4122e8986a7f755d0c7e51a992da0e9bea82 100644 (file)
@@ -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