diff options
author | Piotr Strzelczyk <piotr@eps.gda.pl> | 2010-03-23 22:56:35 +0000 |
---|---|---|
committer | Piotr Strzelczyk <piotr@eps.gda.pl> | 2010-03-23 22:56:35 +0000 |
commit | 307b45de99edc3cf0ca0d4569f07987ff82bd975 (patch) | |
tree | 9d0cef195cae807c3a0985f5d43b2819280d1d47 /Master/tlpkg/dev/download-package-repository.bat | |
parent | 3e972ccc1affaed1d2183d610a38aac90478ffd7 (diff) |
update to download-package-repository script: options, help and activation only upon successful completion
git-svn-id: svn://tug.org/texlive/trunk@17539 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/dev/download-package-repository.bat')
-rwxr-xr-x | Master/tlpkg/dev/download-package-repository.bat | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/tlpkg/dev/download-package-repository.bat b/Master/tlpkg/dev/download-package-repository.bat new file mode 100755 index 00000000000..c7fa272e111 --- /dev/null +++ b/Master/tlpkg/dev/download-package-repository.bat @@ -0,0 +1,14 @@ +@echo off
+setlocal
+if exist "%~dpn0" (
+ set TLROOT=%~dp0..\..
+ set TLPROG=%~dpn0
+) else (
+ set TLROOT=%~f0\..
+ set TLPROG=%~dp0tlpkg\installer\%~n0
+)
+for %%I in ("%TLROOT%") do set TLROOT=%%~fI
+rem set TLINSTALLERDIR=%TLROOT%\install-tl-20100317
+rem set PERL5LIB=%TLROOT%\tlpkg
+"%TLROOT%\tlpkg\tlperl\bin\perl.exe" "%TLPROG%" %*
+pause
|