From eebb6146f0099e7d5b0c4f530d78c8896de528be Mon Sep 17 00:00:00 2001 From: Piotr Strzelczyk Date: Tue, 13 Oct 2009 20:38:26 +0000 Subject: fix fonts dir location and prepend bin dir to PATH git-svn-id: svn://tug.org/texlive/trunk@15796 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/win32/dviout.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Master/bin') diff --git a/Master/bin/win32/dviout.bat b/Master/bin/win32/dviout.bat index 10b12763b43..4537a9c93f6 100755 --- a/Master/bin/win32/dviout.bat +++ b/Master/bin/win32/dviout.bat @@ -12,12 +12,14 @@ rem Get TL installation root (w/o trailing backslash) set tlroot=%~dp0: set tlroot=%tlroot:\bin\win32\:=% if not exist "%tlroot%\bin\win32\kpsewhich.exe" goto :no_tl +rem Make sure our bin dir is the first one on the path +path %tlroot%\bin\win32;%path% rem Ask kpsewhich for TEXMFVAR for /f "delims=" %%I in ( 'kpsewhich --expand-var "$TEXMFVAR/fonts"' ) do ( - set fontsdir=%%~fJ + set fontsdir=%%~fI ) if not exist "%fontsdir%\" md "%fontsdir%" if not exist "%fontsdir%\" goto :no_fontsdir -- cgit v1.2.3