summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/mktexupd
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-18 23:38:50 +0000
committerKarl Berry <karl@freefriends.org>2014-07-18 23:38:50 +0000
commit66ddbb018c1d59c00133a25be6538c5e7a8022e8 (patch)
tree35bf21cd027bf50f96fa6427c653b33106f98e36 /Build/source/texk/kpathsea/mktexupd
parentd66a478e29bb6753eca65870094236edfcef5b85 (diff)
preferentially use subprograms from our own directory
git-svn-id: svn://tug.org/texlive/trunk@34656 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/mktexupd')
-rwxr-xr-xBuild/source/texk/kpathsea/mktexupd13
1 files changed, 11 insertions, 2 deletions
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: <http://tug.org/texlive/>
+"
mt_min_args=2
mt_max_args=2