summaryrefslogtreecommitdiff
path: root/print/tex-tetex/patches/patch-bin_kpsewhere
blob: 71f8c66903c524584840214ef4c14d3876b31045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-bin_kpsewhere,v 1.1 2012/10/13 22:38:20 minskim Exp $

--- bin/kpsewhere.orig	2012-10-09 17:39:16.000000000 +0000
+++ bin/kpsewhere
@@ -55,9 +55,9 @@ esac
 IFS=':'
 for file
 do
-    for path in `kpsewhich --expand-path='$TEXMF'`
+    for path in `@KPSEWHICH@ --expand-path='$TEXMF'`
     do
-        eval TEXMF=\$path kpsewhich $options \"\$file\"
+        eval TEXMF=\$path @KPSEWHICH@ $options \"\$file\"
     done
 done
 exit 0