summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/mktexpk
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/mktexpk')
-rwxr-xr-xBuild/source/texk/kpathsea/mktexpk7
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/mktexpk b/Build/source/texk/kpathsea/mktexpk
index 44881923cd6..4eaafb1d94e 100755
--- a/Build/source/texk/kpathsea/mktexpk
+++ b/Build/source/texk/kpathsea/mktexpk
@@ -5,11 +5,16 @@
# installation won't write this script over yours.)
#
# Originally written by Thomas Esser, Karl Berry, and Olaf Weber.
-# Report bugs to tex-k@tug.org.
# Public domain.
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 [OPTIONS] NAME [REDIRECT],
Create a PK font.