From 9f0f2fbc7ba9bbaaf03f8535c2bffc1ac9eed9b6 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 30 Sep 1998 16:10:16 +0000 Subject: [PATCH] Undo rev 1.18 which broke the sort order in master-index Replace `--' with `-=' inside comments as a workaround so the SGML compiler will not die. --- en/ports/portindex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/en/ports/portindex b/en/ports/portindex index 50924917cb..0814c8e94a 100755 --- a/en/ports/portindex +++ b/en/ports/portindex @@ -162,8 +162,12 @@ sub main { } # Add an entry to the master index + + # workaround for SGML bug, `--' is not allowed in comments + local ($sname) = $name; + $sname =~ s/--/-=/g; $master[$portnumber] = - "$name " . + "$name " . " -- $desc
\n"; $portnumber++; }