diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-02-25 15:53:19 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-02-25 15:53:19 +0000 |
commit | 783675c0cb64a4e6e625b7a4e37c320eaf17fb8d (patch) | |
tree | 201360ff7d83762855e41647eb386ec4632f9a16 /Master/tlpkg/doc/wingoo-demo.bat | |
parent | 506efaea286d392d8c49a0c4cff49f06a791171b (diff) |
TLWinGoo: better support for an uninstaller.
Added function update_assocs to notify the system of changed file
associations.
Updates to wingoo-demo
git-svn-id: svn://tug.org/texlive/trunk@6752 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/doc/wingoo-demo.bat')
-rwxr-xr-x | Master/tlpkg/doc/wingoo-demo.bat | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/Master/tlpkg/doc/wingoo-demo.bat b/Master/tlpkg/doc/wingoo-demo.bat index a3589ba8d20..b3129d46771 100755 --- a/Master/tlpkg/doc/wingoo-demo.bat +++ b/Master/tlpkg/doc/wingoo-demo.bat @@ -1,31 +1,20 @@ @echo off
-rem TeX Live Root; ends with backslash
+rem Directory of this script; ends with backslash
rem This should also work with UNC names
-set tlroot=%~dp0
+set tldoc=%~dp0
set tldrive=%~d0
%tldrive%
-cd %tlroot%
+cd %tldoc%
-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"
+"%tldoc%..\tlperl\bin\perl" "%tldoc%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=
+set tldoc=
|