From 66ddbb018c1d59c00133a25be6538c5e7a8022e8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 18 Jul 2014 23:38:50 +0000 Subject: preferentially use subprograms from our own directory git-svn-id: svn://tug.org/texlive/trunk@34656 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/mktexupd | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/kpathsea/mktexupd') diff --git a/Build/source/texk/kpathsea/mktexupd b/Build/source/texk/kpathsea/mktexupd index 54df6e0fb17..5d8995f45fb 100755 --- a/Build/source/texk/kpathsea/mktexupd +++ b/Build/source/texk/kpathsea/mktexupd @@ -3,11 +3,20 @@ # # Primarily written by Thomas Esser, Karl Berry, and Olaf Weber. # Public domain. -# $Id$ version='$Id$' + +# preferentially use subprograms from our own directory. +mydir=`echo "$0" | sed 's,/[^/]*$,,'` +mydir=`cd "$mydir" && pwd` +PATH="$mydir:$PATH"; export PATH + usage="Usage: $0 DIR FILE. - Update the ls-R file with an entry for FILE in DIR." + Update the ls-R file with an entry for FILE in DIR. + +Report bugs to: tex-k@tug.org +TeX Live home page: +" mt_min_args=2 mt_max_args=2 -- cgit v1.2.3