From 33dc72094c1c719b32c7cdd39963612566ab3d92 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 4 May 2017 21:38:43 +0000 Subject: TLUtils::prepend_own_path adds TL bindir location to PATH, use in fmtutil git-svn-id: svn://tug.org/texlive/trunk@44190 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/fmtutil.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Master/texmf-dist/scripts/texlive/fmtutil.pl') diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl index 62e7e19b767..3e73d40849e 100755 --- a/Master/texmf-dist/scripts/texlive/fmtutil.pl +++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl @@ -62,6 +62,9 @@ my @deferred_stdout; (our $prg = basename($0)) =~ s/\.pl$//; +# make sure that the main binary path is available at the front +TeXLive::TLUtils::prepend_own_path(); + # sudo sometimes does not reset the home dir of root, check on that # see more comments at the definition of the function itself # this function checks by itself whether it is running on windows or not -- cgit v1.2.3