summaryrefslogtreecommitdiff
path: root/Master/bin/win32
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-06-27 11:56:13 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-06-27 11:56:13 +0000
commitf959747e2ad9f90a679ad26c58085af7cb078d4b (patch)
tree4d2d24005710d47addac631cf79d73a3f63cf394 /Master/bin/win32
parentb7dd4e3d834880679e60435b6c4fc563e9da12f2 (diff)
fix path quoting in psv wrapper
git-svn-id: svn://tug.org/texlive/trunk@13976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/win32')
-rwxr-xr-xMaster/bin/win32/psv.bat8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/bin/win32/psv.bat b/Master/bin/win32/psv.bat
index df896f2c7a5..9e407d1e022 100755
--- a/Master/bin/win32/psv.bat
+++ b/Master/bin/win32/psv.bat
@@ -4,11 +4,11 @@ rem Launcher script for PSV
rem Make environment changes local
setlocal enableextensions
rem Get TL root (should be two levels up)
-for %%I in (%~dp0..\..) do (set tlroot=%%~fI)
+for %%I in ("%~dp0..\..") do (set tlroot=%%~fI)
rem Use provided GS
set GS_LIB=%tlroot%\tlpkg\tlgs\lib;%tlroot%\tlpkg\tlgs\fonts
set GS_DLL=%tlroot%\tlpkg\tlgs\bin\gsdll32.dll
-rem Add PSV to path
-path %tlroot%\tlpkg\tlpsv;%path%
+rem Add bin dir to path
+path %tlroot%\bin\win32;%path%
rem Start PSV and exit
-start gswxlua -l psv.wx.lua -p psv_view.ps -sINPUT=%1 %2
+start "" "%tlroot%\tlpkg\tlpsv\gswxlua.exe" -l psv.wx.lua -p psv_view.ps -sINPUT=%1 %2