summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-10-06 00:17:11 +0000
committerKarl Berry <karl@freefriends.org>2010-10-06 00:17:11 +0000
commit867c3f687aa7987853875f50a5c17a5971d5cb42 (patch)
tree68640921900173534cdf98d96c1eaeae1f6290a4
parent1705efd105ab4749135fb72ba1850ecd0e2a5350 (diff)
do not complain about zero files being under
tlpkg/backups. git-svn-id: svn://tug.org/texlive/trunk@20004 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLPSRC.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLPSRC.pm b/Master/tlpkg/TeXLive/TLPSRC.pm
index 52779211a8b..e0ff4c2f813 100644
--- a/Master/tlpkg/TeXLive/TLPSRC.pm
+++ b/Master/tlpkg/TeXLive/TLPSRC.pm
@@ -444,7 +444,8 @@ sub _do_normal_pattern {
$p =~ s/^\*//;
}
my @matchfiles = $tltree->get_matching_files($type,$p);
- if (!$is_default_pattern && !@matchfiles && ($p !~ m/^f ignore/)) {
+ if (!$is_default_pattern && !@matchfiles
+ && ($p !~ m,^f ignore,) && ($p !~ m,^d tlpkg/backups,)) {
tlwarn("$self->{name}: no hit for pattern $p\n");
}
if (defined($negative) && $negative == 1) {