From 573330a9fd91473a1600c7dce6172edfe99a2714 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 3 Sep 1999 07:12:57 +0000 Subject: [PATCH] Set LC_ALL and LANGUAGE to fix locale dependencies in sort. --- io/ftwtest-sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.2