From: tweenk Date: Mon, 28 Sep 2009 21:34:02 +0000 (+0000) Subject: Fix the mkNEWS script, and make it use w3m, which is nowadays X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ff31b395d471c7ba841b3e46936712e030f4805e;p=inkscape.git Fix the mkNEWS script, and make it use w3m, which is nowadays more common than lynx. --- diff --git a/packaging/mkNEWS b/packaging/mkNEWS index 96485dbfc..7e17e9013 100644 --- a/packaging/mkNEWS +++ b/packaging/mkNEWS @@ -11,9 +11,7 @@ if (@ARGV < 1) { my $rel = shift @ARGV; -$rel =~ s/\.//; - -my @page = `lynx -dump $wiki/ReleaseNotes$rel`; +my @page = `w3m -dump $wiki/Release_notes/$rel`; print "$#page lines\n"; @@ -22,9 +20,9 @@ foreach my $line (@page) { $line =~ s/\[\[\d+\]edit\]//g; - last if $line =~ /^ Previous releases/; + last if $line =~ /^\s*Previous releases/; - if ($line =~ /^\s+Inkscape 0\.46/) { + if ($line =~ /^\s*Inkscape $rel/) { $seen_overview = 1; } next unless $seen_overview;