diff options
Diffstat (limited to 'Master/tlpkg/libexec/place')
-rwxr-xr-x | Master/tlpkg/libexec/place | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/place b/Master/tlpkg/libexec/place index 4cc5a0a1028..d6bd479fd36 100755 --- a/Master/tlpkg/libexec/place +++ b/Master/tlpkg/libexec/place @@ -32,9 +32,22 @@ print "place: chicken mode = $chicken\n"; die "usage: $0 PKGNAME\n" unless @ARGV == 1; $package = $ARGV[0]; - # $::opt_verbosity = 3; # debug tlpdb reading +# Negative patterns are used to avoid conflicts when the name of a given +# package happens to match the name of a subdirectory in another package. +# For example, cell.tlpsrc contains: +# docpattern +!d texmf-dist/doc/latex/cals/test/cell +# to avoid including that test/cell subdirectory in the cals package +# when building tlpdb. Ordinarily, if the pattern being excluded +# doesn't match anything, there is a warning (e.g., cals might get rid +# of that subdir someday, and then we'd want to delete the pattern from cell.) +# +# But when we update cell from CTAN, of course cals is not present, +# therefore the negative pattern has nothing to match, therefore warning +# about it is noise, therefore omit the warning. +$::tlpsrc_pattern_no_warn_negative = 1; + %dirs = (); # dirs we make changes in $TMP = $ENV{"TMPDIR"} || "/tmp"; $tmpfile = "$TMP/$>.tlplace"; # use effective uid in temp file names |