diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-05-31 11:55:10 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-05-31 11:55:10 +0000 |
commit | 2e29be81b9ee04c3c194ef698fc789d40578dc34 (patch) | |
tree | 7a42cf57fbc9c881c7d52130dbc9f5f4df135c2c /Master/bin/x86_64-linux/fmtutil | |
parent | aeac1d705a8adf313891d96be54261e384e9ca5d (diff) |
Allow multiple language files in fmtutil.cnf.
git-svn-id: svn://tug.org/texlive/trunk@18642 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/x86_64-linux/fmtutil')
-rwxr-xr-x | Master/bin/x86_64-linux/fmtutil | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/bin/x86_64-linux/fmtutil b/Master/bin/x86_64-linux/fmtutil index 6257aba50e7..2cb5743a463 100755 --- a/Master/bin/x86_64-linux/fmtutil +++ b/Master/bin/x86_64-linux/fmtutil @@ -672,10 +672,10 @@ parse_line() ############################################################################### find_hyphenfile() { - format="$1"; hyphenation="$2" + format="$1"; hyphenation="`echo $2 | sed 's/,/ /g'`" case $hyphenation in -) ;; - *) kpsewhich -progname="$format" -format=tex "$hyphenation";; + *) kpsewhich -progname="$format" -format=tex $hyphenation;; esac } @@ -842,7 +842,7 @@ listcfg_loop() check_match() { $need_find_hyphenfile && \ - this_hyphenfile=`find_hyphenfile "$format" "$hyphenation"` + this_hyphenfile="`find_hyphenfile "$format" "$hyphenation"`" eval $match_cmd && setmatch true } @@ -909,7 +909,7 @@ recreate_by_hyphenfile() ;; esac need_find_hyphenfile=true - match_cmd="test x\$this_hyphenfile = x$hyphenfile" + match_cmd="echo \"\$this_hyphenfile\" | grep $hyphenfile >/dev/null" # No match before the loop: setmatch false |