summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-10-13 20:38:26 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-10-13 20:38:26 +0000
commiteebb6146f0099e7d5b0c4f530d78c8896de528be (patch)
treee87920a8f9a4b61cf34052d195a438ba6131cd36 /Master/bin
parent293c6d0937a8ac8462151d5bfe397443656c53fb (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
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/win32/dviout.bat4
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