summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2009-09-28 21:34:02 +0000
committertweenk <tweenk@users.sourceforge.net>2009-09-28 21:34:02 +0000
commit80a95747d34451fc19c4ec39a70c9981edc270c7 (patch)
tree662edac91c7cd34c698623d6476949b2160805e0 /packaging
parent* [INTL:pl] Final update of the 0.47 translation by Polish Inkscape (diff)
downloadinkscape-80a95747d34451fc19c4ec39a70c9981edc270c7.tar.gz
inkscape-80a95747d34451fc19c4ec39a70c9981edc270c7.zip
Fix the mkNEWS script, and make it use w3m, which is nowadays
more common than lynx. (bzr r8668)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/mkNEWS8
1 files changed, 3 insertions, 5 deletions
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;