summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-06-24 22:44:17 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-06-24 22:44:17 +0000
commit50599e1112b7dff581717734e0ff64fedbba90a7 (patch)
tree4d73c3685efbcbc3906752e12cf449a5e8962b33
parente08a30ca25b52977bf1a5a8930bd8e0bd0cab3b0 (diff)
fix path setting, add comments
git-svn-id: svn://tug.org/texlive/trunk@13950 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/bin/win32/asy.bat12
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/bin/win32/asy.bat b/Master/bin/win32/asy.bat
index b5206bf9baf..1f7e8a9f382 100755
--- a/Master/bin/win32/asy.bat
+++ b/Master/bin/win32/asy.bat
@@ -1,5 +1,13 @@
@echo off
-setlocal
+rem Start-up script for Asymptote
+rem
+rem Copyright 2009 by Tomasz M. Trzeciak
+rem Public Domain
+
+setlocal enableextensions
+rem Suppress cygwin warning about DOS paths
set CYGWIN=nodosfilewarning
-for %%I in ("%~dp0..\..") do path %%~fI;%PATH%
+rem Add bin dir to PATH
+for %%I in ("%~f0\..") do path %%~fI;%PATH%
+rem Call asy.exe
"%~dp0..\..\tlpkg\asymptote\asy.exe" %*