diff options
author | Norbert Preining <preining@logic.at> | 2010-09-17 02:35:37 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2010-09-17 02:35:37 +0000 |
commit | 9838d699ec836e6d0d1e811c43f8e2ea3991a7b2 (patch) | |
tree | f61f1693312be8db118635fd691269fb42243b56 /Master/tlpkg/TeXLive/TLPSRC.pm | |
parent | 495a87e8b82a51518b29bf3186026b96f4e30221 (diff) |
allow for empty shortdesc lines
git-svn-id: svn://tug.org/texlive/trunk@19771 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPSRC.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPSRC.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLPSRC.pm b/Master/tlpkg/TeXLive/TLPSRC.pm index ac07d969b87..52779211a8b 100644 --- a/Master/tlpkg/TeXLive/TLPSRC.pm +++ b/Master/tlpkg/TeXLive/TLPSRC.pm @@ -125,6 +125,9 @@ sub from_file if ($line =~ /^shortdesc\s*(.*)$/) { $shortdesc = $1; next; + } elsif ($line =~ /^shortdesc$/) { + $shortdesc = ""; + next; } elsif ($line =~ /^category\s+$CategoriesRegexp$/) { $category = $1; next; |