diff --git a/scripts/update_news.pl b/scripts/update_news.pl index 6e92ddd1299..bad2c8aa317 100755 --- a/scripts/update_news.pl +++ b/scripts/update_news.pl @@ -27,7 +27,7 @@ while(<$in>) { last if /^Change history for the QGIS Project/; } -my $content = `curl -A Mozilla -s https://changelog.qgis.org/en/qgis/version/$version/gnu/`; +my $content = `curl -LA Mozilla -s https://changelog.qgis.org/en/qgis/version/$version/gnu/`; die "Couldn't get it!" unless defined $content; print $news "\n# What's new in Version $version '$releasename'?\n\n";