diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-01-10 22:56:04 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-01-10 22:56:04 +0000 |
commit | a085c27f4e2244e388b7cac1fc3eacd6bc2b90f6 (patch) | |
tree | 445cadf77db143dbadfde75c003c9a46dd9e53f6 /Master/wingoo-demo.bat | |
parent | be3452a1329d292353703349c6aee8715c6eb6ac (diff) |
Added: module TLWinGoo.pm with Windows stuff plus test/demo
wingoo-demo.[pl|bat].
git-svn-id: svn://tug.org/texlive/trunk@6184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/wingoo-demo.bat')
-rwxr-xr-x | Master/wingoo-demo.bat | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/wingoo-demo.bat b/Master/wingoo-demo.bat new file mode 100755 index 00000000000..629daae3495 --- /dev/null +++ b/Master/wingoo-demo.bat @@ -0,0 +1,27 @@ +@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
+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=
+set tldrive=
+set tlroot=
|