summaryrefslogtreecommitdiff
path: root/Master/bin/win32/asy.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/win32/asy.bat')
-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" %*