summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-05-20 23:48:05 +0000
committerKarl Berry <karl@freefriends.org>2008-05-20 23:48:05 +0000
commit13c57e19b4882d81abf1971d2571cadc1960071a (patch)
tree4eaff5bf55e55476f6caf5e2dd5b80b2854fe3a6 /Master/tlpkg
parent0e970dbe6207cf8a38bc1b4221c3d924876aa700 (diff)
call process_logging_options
git-svn-id: svn://tug.org/texlive/trunk@8260 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tl-make-install-pkg21
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/tlpkg/bin/tl-make-install-pkg b/Master/tlpkg/bin/tl-make-install-pkg
index 3867764ff16..0dd02d1bd41 100755
--- a/Master/tlpkg/bin/tl-make-install-pkg
+++ b/Master/tlpkg/bin/tl-make-install-pkg
@@ -1,15 +1,12 @@
#!/usr/bin/env perl
-$^W=1;
-
# $Id$
-# tl-make-install-pkg
#
# Copyright 2008 Reinhard Kotucha, Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
-# tl-make-install-pkg.pl is supposed to create the file "install-tl.zip"
-# is needed for network downloads.
+# This script creates the zip (everything) and tgz (omits windows)
+# archives to do a network install. Runs from cron.
BEGIN {
$^W = 1;
@@ -37,7 +34,8 @@ $opt_help=0;
$opt_verbose=0;
$opt_outputdir=0;
-sub usage {
+sub usage
+{
print <<'EOF';
Usage:
tl-make-install-pkg [-h|--help] [-v|--verbose] -o|--outputdir=dir
@@ -57,12 +55,13 @@ EOF
usage if (@ARGV<1);
-GetOptions
- "verbose|v",
- "outputdir|o=s",
- "help|h";
+TeXLive::TLUtils::process_logging_options();
+GetOptions(
+ "verbose|v",
+ "outputdir|o=s",
+ "help|h") or usage;
-usage if ($opt_help);
+usage if $opt_help;
### determine directories.