summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-11 21:11:50 +0000
committerKarl Berry <karl@freefriends.org>2020-05-11 21:11:50 +0000
commit27723a001f06f8b3268435a57d10043c8db1ed6a (patch)
treea52e5b5457a8314823823a7cdd71efe80f58b123 /Master/tlpkg/TeXLive
parent99753a4a0edc3571fa82cee09e2b0c74618e58cb (diff)
(_initialize_lines): try to handle non-arch man under bin/.
git-svn-id: svn://tug.org/texlive/trunk@55106 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLTREE.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm
index 535dd435f5e..7b76f1c29d1 100644
--- a/Master/tlpkg/TeXLive/TLTREE.pm
+++ b/Master/tlpkg/TeXLive/TLTREE.pm
@@ -199,8 +199,9 @@ sub _initialize_lines {
next if ($1 eq "D"); # ignore files which are removed
next if -d $entry && ! -l $entry; # keep symlinks to dirs (bin/*/man),
# ignore normal dirs.
- # collect architectures, assuming nothing is in bin/ but arch subdirs.
- if ($entry =~ m,^bin/([^/]*)/,) {
+ # collect architectures; bin/ has arch subdirs plus the plain man
+ # special case.
+ if ($entry =~ m,^bin/([^/]*)/, && $entry ne "bin/man") {
$archs{$1} = 1;
}
$self->{'_allfiles'}{$entry}{'lastchangedrev'} = $lastchanged;