diff --git a/update.texlive b/update.texlive index 3bc9d6e..0142fc6 100644 --- a/update.texlive +++ b/update.texlive @@ -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