Wrong pattern for matching font file names. Fix submitted by

hjchoe@hancom.com (Choe Hwanjin)
This commit is contained in:
Keith Packard 2003-03-24 05:03:20 +00:00
parent c8582ff72a
commit 7dbeec1738
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ yes)
x) x)
if test -d "$dir/fonts"; then if test -d "$dir/fonts"; then
for sub in "$dir"/fonts/*; do for sub in "$dir"/fonts/*; do
if ls "$sub" | grep -q -i '\.pf\|\.tt\|.ot'; then if ls "$sub" | grep -q -i '\.pf\|\.tt\|\.ot'; then
case x$FC_ADD_FONTS in case x$FC_ADD_FONTS in
x) x)
FC_ADD_FONTS="$sub" FC_ADD_FONTS="$sub"