summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/mktextfm
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/mktextfm
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/mktextfm')
-rwxr-xr-xBuild/source/texk/kpathsea/mktextfm12
1 files changed, 11 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/mktextfm b/Build/source/texk/kpathsea/mktextfm
index 9a10a79bb00..d2c132aad89 100755
--- a/Build/source/texk/kpathsea/mktextfm
+++ b/Build/source/texk/kpathsea/mktextfm
@@ -9,11 +9,21 @@
version='$Id$'
progname=`echo $0 | sed 's%.*/%%'`
+
+# preferentially use subprograms from our own directory.
+mydir=`echo "$0" | sed 's,/[^/]*$,,'`
+mydir=`cd "$mydir" && pwd`
+PATH="$mydir:$PATH"; export PATH
+
usage="Usage: $progname [--destdir DESTDIR] FONT.
Makes a TFM file for FONT, if possible. Use DESTDIR for the root of where
to install into, either the absolute directory name to use (if it starts
-with a /) or relative to the default DESTDIR (if not)."
+with a /) or relative to the default DESTDIR (if not).
+
+Report bugs to: tex-k@tug.org
+TeX Live home page: <http://tug.org/texlive/>
+"
# Handle non-positional options, except for --version/--help
while test $# -gt 0; do