From c0df6a1395f65645200563c3586fb2c4b73e0630 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 5 Jul 2018 18:05:05 +0000 Subject: TLPSRC.pm: check for unexpanded variables and more duplicate directives; simplify case statement handling lines. TLTREE.pm (get_matching_files): propagate warnings from the eval, for the sake of undefined variables. TLPDB.pm: doc. tl-update-tlpdb: distinguish $tlpdb->writeout from $tlpdb->save in msg. git-svn-id: svn://tug.org/texlive/trunk@48144 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPDB.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Master/tlpkg/TeXLive/TLPDB.pm') diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm index 25423f1a7b4..cfd5b2fa2fc 100644 --- a/Master/tlpkg/TeXLive/TLPDB.pm +++ b/Master/tlpkg/TeXLive/TLPDB.pm @@ -794,7 +794,7 @@ sub list_packages { } # we have to be careful here: If a package # is only present in a subsidiary repository - # and the package is *not* explicitely + # and the package is *not* explicitly # pinned to it, it will not be installable. # This is what we want. But in this case # we don't want it to be listed by default. @@ -1066,7 +1066,7 @@ sub _generate_listfile { push @lop, $d; } } else { - # speudo dependencies on $Package.ARCH can be ignored + # pseudo-dependencies on $Package.ARCH can be ignored if ($d !~ m/\.ARCH$/) { tlwarn("TLPDB: package $tlp->name depends on $d, but this does not exist\n"); } @@ -1100,7 +1100,7 @@ sub _generate_listfile { print TMP "*Title: ", $tlp->shortdesc, "\n"; my $s = 0; # schemes size includes ONLY those packages which are directly - # included and direclty included files, not the size of the + # included and directly included files, not the size of the # included collections. But if a package is included in one of # the called for collections AND listed directly, we don't want # to count its size two times @@ -1260,7 +1260,7 @@ sub verification_status { =item C<< $tlpdb->listdir >> The function C allows to read and set the packages variable -specifiying where generated list files are created. +specifying where generated list files are created. =cut @@ -2064,7 +2064,7 @@ sub remove_package { } else { # NO NOTHING HERE!!! # DON'T PUSH IT ON @goodfiles, it will be removed, which we do - # NOT want. We only want to supress the warning! + # NOT want. We only want to suppress the warning! push @debugfiles, $f; } } else { -- cgit v1.2.3