diff options
author | Piotr Strzelczyk <piotr@eps.gda.pl> | 2009-10-13 20:38:26 +0000 |
---|---|---|
committer | Piotr Strzelczyk <piotr@eps.gda.pl> | 2009-10-13 20:38:26 +0000 |
commit | eebb6146f0099e7d5b0c4f530d78c8896de528be (patch) | |
tree | e87920a8f9a4b61cf34052d195a438ba6131cd36 | |
parent | 293c6d0937a8ac8462151d5bfe397443656c53fb (diff) |
fix fonts dir location and prepend bin dir to PATH
git-svn-id: svn://tug.org/texlive/trunk@15796 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/bin/win32/dviout.bat | 4 |
1 files changed, 3 insertions, 1 deletions
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
|