summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/place
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-04 17:31:21 +0000
committerKarl Berry <karl@freefriends.org>2013-04-04 17:31:21 +0000
commitfd4545fe5a780ce3e1fbf1b78d668729de1bff7d (patch)
tree4e09fb0200704914885bc52dd69629fd280433eb /Master/tlpkg/libexec/place
parent7ae4f3a4bad94230ffba68bceb27b269b8fa04c4 (diff)
exclude mptopdf files from context update; do not warn about negative patterns not matching when updating from CTAN
git-svn-id: svn://tug.org/texlive/trunk@29640 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec/place')
-rwxr-xr-xMaster/tlpkg/libexec/place15
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