summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-07-08 11:12:24 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-07-08 11:12:24 +0000
commitd68114f5117e9ca6c33a676b9b239a5617196baa (patch)
treee083a260d32cf30d18f68ef9a07ba3950e31d272 /Master/bin
parent97ff345de40a8f7994bfd3f62d69a2dd51f2eda8 (diff)
use psv.exe, short paths don't work for network drives
git-svn-id: svn://tug.org/texlive/trunk@14185 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/win32/asy.bat14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/bin/win32/asy.bat b/Master/bin/win32/asy.bat
index 0f953f5eff3..88765897e13 100755
--- a/Master/bin/win32/asy.bat
+++ b/Master/bin/win32/asy.bat
@@ -1,21 +1,23 @@
@echo off
rem Start-up script for Asymptote
rem
-rem Copyright 2009 by Tomasz M. Trzeciak
+rem Originally written by Tomasz M. Trzeciak
rem Public Domain
setlocal enableextensions
rem Get TL installation root (it should be two levels up)
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%
+for %%I in ("%~dp0\..\..") do (set TLROOT=%%~fI)
+rem Add psv, gs and bin dir to PATH
+path %TLROOT%\bin\win32;%TLROOT%\tlpkg\tlgs\bin;%TLROOT%\tlpkg\tlpsv;%PATH%
+rem GS environment
+set GS_DLL=%tlroot%\tlpkg\tlgs\bin\gsdll32.dll
set GS_LIB=%TLROOT%\tlpkg\tlgs\lib;%TLROOT%\tlpkg\tlgs\fonts
rem Suppress cygwin warning about DOS paths
set CYGWIN=nodosfilewarning
rem Set asymptote options
set ASYMPTOTE_GS=gswin32c.exe
-set ASYMPTOTE_PSVIEWER=psv.bat
-set ASYMPTOTE_PDFVIEWER=psv.bat
+set ASYMPTOTE_PSVIEWER=psv.exe
+set ASYMPTOTE_PDFVIEWER=psv.exe
rem Call asy.exe
"%TLROOT%\tlpkg\asymptote\asy.exe" %*