1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 02:30:35 +02:00

Export LC_ALL=C, to avoid failure when run in a UTF locale.

Report and suggested fix by Bruno Haible.
This commit is contained in:
Jim Meyering
2002-11-19 14:07:20 +00:00
parent 6ba0925f2d
commit d38c17cdbc
+6
View File
@@ -13,6 +13,12 @@ case "$PERL" in
;;
esac
# Avoid a problem when run in a UTF-8 locale.
# Otherwise, Perl would try to (and fail to) interpret
# each string below as a sequence of multi-byte characters.
LC_ALL=C
export LC_ALL
pwd=`pwd`
tmp=sum-s.$$
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0