From 2f9b52bdc24d105b67a27bae785029349c081a97 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 10 Sep 2009 18:37:49 +0000 Subject: (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 --- Master/tlpkg/bin/tlpkginfo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Master') 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; -- cgit v1.2.3