703. Eliminate locale-dependent behaviour in fontconfig's setfontdirs

script (#A.1483, Markus Kuhn).
This commit is contained in:
David Dawes 2003-01-07 02:07:47 +00:00
parent 72a762196f
commit 3c0b3aa22c
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
# #
# $XFree86: xc/lib/fontconfig/setfontdirs,v 1.4 2002/08/01 16:17:33 keithp Exp $ # $XFree86: xc/lib/fontconfig/setfontdirs,v 1.5 2002/12/17 03:26:36 dawes Exp $
# #
LANG=C LC_ALL=C
export LANG export LC_ALL
FONTDIRS=fontdirs$$ FONTDIRS=fontdirs$$
trap "rm $FONTDIRS" 0 trap "rm $FONTDIRS" 0
sh ./findfonts ${1+"$@"} > $FONTDIRS sh ./findfonts ${1+"$@"} > $FONTDIRS