summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-07-08 10:35:28 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-07-08 10:35:28 +0000
commit97ff345de40a8f7994bfd3f62d69a2dd51f2eda8 (patch)
treefa43af66163f67f8b966542efc0ad65aa750f70d /Master/bin
parent1f6583cbd0d0b77512bc9c774bf0ad315678d4a7 (diff)
use short paths due to problem with spaces when spawning batch files in asy
git-svn-id: svn://tug.org/texlive/trunk@14184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/win32/asy.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/bin/win32/asy.bat b/Master/bin/win32/asy.bat
index b6c88ce7ab3..0f953f5eff3 100755
--- a/Master/bin/win32/asy.bat
+++ b/Master/bin/win32/asy.bat
@@ -6,7 +6,8 @@ rem Public Domain
setlocal enableextensions
rem Get TL installation root (it should be two levels up)
-for %%I in ("%~dp0\..\..") do (set TLROOT=%%~fI)
+rem Use short path, because of problems with spaces and calling batch files
+for %%I in ("%~dp0\..\..") do (set TLROOT=%%~sfI)
rem Add gs and bin dir to PATH
path %TLROOT%\tlpkg\tlgs\bin;%TLROOT%\bin\win32;%PATH%
set GS_LIB=%TLROOT%\tlpkg\tlgs\lib;%TLROOT%\tlpkg\tlgs\fonts