summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPOBJ.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPOBJ.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLPOBJ.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm
index 497367b3d7a..3b6a74f5cc1 100644
--- a/Master/tlpkg/TeXLive/TLPOBJ.pm
+++ b/Master/tlpkg/TeXLive/TLPOBJ.pm
@@ -261,11 +261,11 @@ sub from_fh {
$self->{'cataloguedata'}{$1} = "$2";
} elsif ($line =~ /^catalogue-([^\s]+)\s*/o) {
1; # ignore e.g. catalogue-ctan without parameter
- } elsif ($line eq "shortdesc") {
+ } elsif ($line =~ /^shortdesc\s*$/o) { # shortdesc<whitespace>
$self->{'shortdesc'} .= " ";
$lastcmd = "shortdesc";
next;
- } elsif ($line =~ /^shortdesc\s+(.*)$/o) {
+ } elsif ($line =~ /^shortdesc\s+(.*)$/o) { # shortdesc <real text>
$self->{'shortdesc'} .= "$1";
$lastcmd = "shortdesc";
next;