From e15b7c91981a4ffa045822bac2a86055a6738a110989145a9df4871cec2447c4 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 10 Feb 2014 10:22:30 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=42 --- update.texlive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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