blob: 4e82f244e115ccc86da4aea4453f2e669aebcb1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-bin_mktextfm,v 1.1 2020/05/10 03:56:44 markd Exp $
use full path for commands
--- bin/mktextfm.orig 2009-06-03 06:07:27.000000000 -0700
+++ bin/mktextfm
@@ -27,8 +27,8 @@ while test $# -gt 0; do
done
# Common code for all scripts.
-: ${MT_TEXMFMAIN=`kpsewhich --expand-path='$TEXMFMAIN'`}
-: ${MT_MKTEX_OPT=`kpsewhich --format='web2c files' mktex.opt`}
+: ${MT_TEXMFMAIN=`@KPSEWHICH@ --expand-path='$TEXMFMAIN'`}
+: ${MT_MKTEX_OPT=`@KPSEWHICH@ --format='web2c files' mktex.opt`}
test -n "$MT_MKTEX_OPT" || MT_MKTEX_OPT="$MT_TEXMFMAIN/web2c/mktex.opt"
if test ! -f "$MT_MKTEX_OPT"; then
echo "$progname: Cannot find mktex.opt; check your installation." >&2
|