summaryrefslogtreecommitdiff
path: root/print/kpathsea/patches/patch-ak
blob: 8f4fa50b1144ce93d569bb4db92f24e46750a713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ak,v 1.2 2011/07/28 04:25:06 minskim Exp $

--- mktexlsr.orig	2011-06-27 22:27:02.000000000 +0000
+++ mktexlsr
@@ -78,7 +78,7 @@ while test $# -gt 0; do
     exit 0
   elif test "x$1" = x--version || test "x$1" = x-version; then
     echo "`basename $0` $version"
-    kpsewhich --version
+    @KPSEWHICH@ --version
     exit 0
   elif test "x$1" = x--verbose || test "x$1" = x-verbose; then
     verbose=true
@@ -127,7 +127,7 @@ old_ls_R_magic='% ls-R -- maintained by 
   if test -s "$treefile"; then
     set x `sort "$treefile" | uniq`
   else
-    set x `kpsewhich --show-path=ls-R | tr : '
+    set x `@KPSEWHICH@ --show-path=ls-R | tr : '
 ' | sort | uniq`
   fi
   IFS=$saveIFS