summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/libexec/mptopdf-extract3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/mptopdf-extract b/Master/tlpkg/libexec/mptopdf-extract
index 530f64ef6bc..c1ec0c7bd4c 100755
--- a/Master/tlpkg/libexec/mptopdf-extract
+++ b/Master/tlpkg/libexec/mptopdf-extract
@@ -4,6 +4,9 @@
# as a separate package, since it can be used with LaTeX. See
# description in mptopdf.tlpsrc for details.
+tlbindir=`cd \`dirname $0\` && cd ../bin && pwd`
+PATH=$tlbindir:$PATH # tlpfiles
+
# Get files of our mptopdf package, ignoring top-level directory.
# And ignoring the man page until it is present in ConTeXt.
files=`tlpfiles mptopdf | sed 's,[^/]*/,,' | grep -v doc/man`