diff options
author | Piotr Strzelczyk <piotr@eps.gda.pl> | 2009-07-06 22:37:17 +0000 |
---|---|---|
committer | Piotr Strzelczyk <piotr@eps.gda.pl> | 2009-07-06 22:37:17 +0000 |
commit | b51040275dce020b30b347d6459afab59f150511 (patch) | |
tree | d46bdfd5f456794626c12864cab86d54a0b6cddb /Master | |
parent | ce9dc87c7ec8d84c200eae1389e48e09613b35f0 (diff) |
configure asy for tlgs
git-svn-id: svn://tug.org/texlive/trunk@14161 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/bin/win32/asy.bat | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/bin/win32/asy.bat b/Master/bin/win32/asy.bat index a41894d1c8b..b6c88ce7ab3 100755 --- a/Master/bin/win32/asy.bat +++ b/Master/bin/win32/asy.bat @@ -5,12 +5,16 @@ rem Copyright 2009 by Tomasz M. Trzeciak 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 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 rem Suppress cygwin warning about DOS paths set CYGWIN=nodosfilewarning -rem Add bin dir to PATH -for %%I in ("%~f0\..") do path %%~fI;%PATH% -rem psviewer and pdfviewer to psv +rem Set asymptote options +set ASYMPTOTE_GS=gswin32c.exe set ASYMPTOTE_PSVIEWER=psv.bat set ASYMPTOTE_PDFVIEWER=psv.bat rem Call asy.exe -"%~dp0..\..\tlpkg\asymptote\asy.exe" %* +"%TLROOT%\tlpkg\asymptote\asy.exe" %* |