summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-10 18:37:49 +0000
committerKarl Berry <karl@freefriends.org>2009-09-10 18:37:49 +0000
commit2f9b52bdc24d105b67a27bae785029349c081a97 (patch)
tree66bce4848ecd677de607f8314f88c2a272fbb60d /Master
parentbfffac118f210d00d8066c6e088b533978a8ac2a (diff)
(catalogue_find_ctan_path): downcase package name
when looking up the catalogue file. git-svn-id: svn://tug.org/texlive/trunk@15213 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index 2b9b928d4e8..eafdd7db2c8 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -198,7 +198,8 @@ sub catalogue_find_ctan_path
{
my ($pkgname) = @_;
- my $firstchar = substr ($pkgname, 0, 1);
+ # catalogue uses all-lowercase file/directory names.
+ my $firstchar = substr (lc ($pkgname), 0, 1);
my $catfile = "$CATALOGUE/$firstchar/$pkgname.xml";
return undef unless -r $catfile;