1
0
Dr. Werner Fink 2014-02-10 10:22:30 +00:00 committed by Git OBS Bridge
parent 18afa5ff34
commit e15b7c9198

View File

@ -207,8 +207,8 @@ has_formats()
test ${line[2]} = "-" && continue
let last=${#line[@]}
let last--
TEXMF=$TEXMFSYSCONFIG kpsewhich -progname=${line[0]} -format=tex ${line[last]#\*} &>/dev/null || continue
hyphen=$(TEXMF=$TEXMFSYSCONFIG kpsewhich -progname=${line[0]} -format=tex ${line[2]} 2>/dev/null)
kpsewhich -progname=${line[0]} -format=tex ${line[last]#\*} &>/dev/null || continue
hyphen=$(kpsewhich -progname=${line[0]} -format=tex ${line[2]} 2>/dev/null)
test -n "$hyphen" -a -e "$hyphen" -a "$hyphen" = "$1" || continue
return 0
done