diff options
author | Karl Berry <karl@freefriends.org> | 2008-01-30 19:53:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-01-30 19:53:36 +0000 |
commit | 481631b97b21dd0eda4720f6e03912217bcf9281 (patch) | |
tree | 4812d3d33c1cd81fc8a6d82572865a820da64e2a /Master/tlpkg/doc/wingoo-demo.bat | |
parent | 6b233664eec7acb80daf7c87690e1fc51d33fc29 (diff) |
move demos to tlpkg/doc
git-svn-id: svn://tug.org/texlive/trunk@6452 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/doc/wingoo-demo.bat')
-rwxr-xr-x | Master/tlpkg/doc/wingoo-demo.bat | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/tlpkg/doc/wingoo-demo.bat b/Master/tlpkg/doc/wingoo-demo.bat new file mode 100755 index 00000000000..a3589ba8d20 --- /dev/null +++ b/Master/tlpkg/doc/wingoo-demo.bat @@ -0,0 +1,31 @@ +@echo off
+
+rem TeX Live Root; ends with backslash
+rem This should also work with UNC names
+set tlroot=%~dp0
+set tldrive=%~d0
+
+%tldrive%
+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
+
+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=
|