summaryrefslogtreecommitdiff
path: root/Master/wingoo-demo.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/wingoo-demo.bat')
-rwxr-xr-xMaster/wingoo-demo.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/wingoo-demo.bat b/Master/wingoo-demo.bat
index 629daae3495..a3589ba8d20 100755
--- a/Master/wingoo-demo.bat
+++ b/Master/wingoo-demo.bat
@@ -9,6 +9,7 @@ set tldrive=%~d0
cd %tlroot%
rem we need wget in the path, so add tlpkg\bin to the path
+set pathsave=%path%
path %path%;%tlroot%tlpkg\bin
rem use provided Perl
@@ -17,11 +18,14 @@ set PERL5SAVE=%PERL5LIB%
set PERL5LIB=%tlroot%tlpkg\lib\Perl5_lib-TL_inst
"%tlroot%tlpkg\bin\perl" "%tlroot%wingoo-demo.pl"
+
pause Done
rem cleanup in case of start from command-line
set PERL5LIB=%PERL5SAVE%
set PERL5SAVE=
+path %pathsave%
+set pathsave=
set tldrive=
set tlroot=