summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpkginfo
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tlpkginfo')
-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;