summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPOBJ.pm
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-09-03 22:07:18 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-09-03 22:07:18 +0000
commit9bd6f5ef439e75ecf4d4dc8652fe133543c5d083 (patch)
tree44caa2a8a4a7188485fa1ba13cafab9d70a540a7 /Master/tlpkg/TeXLive/TLPOBJ.pm
parentddd0f4e296806c40acf429b30b40699e8e8cfce2 (diff)
match top level files as well
git-svn-id: svn://tug.org/texlive/trunk@15044 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPOBJ.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLPOBJ.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm
index b05366dff24..39d692e2c20 100644
--- a/Master/tlpkg/TeXLive/TLPOBJ.pm
+++ b/Master/tlpkg/TeXLive/TLPOBJ.pm
@@ -891,7 +891,7 @@ sub contains_file {
if ($fn =~ m!/!) {
return(grep(m!$fn$!, $self->all_files));
} else {
- return(grep(m!/$fn$!,$self->all_files));
+ return(grep(m!(^|/)$fn$!,$self->all_files));
}
}