From: Eric Bollengier Date: Tue, 26 Jan 2010 08:20:18 +0000 (+0100) Subject: fix release notes and changelog path X-Git-Tag: Release-5.2.1~167^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=616bed04fd25d493f281f48269b4c9d09319358a;p=bacula%2Fdocs fix release notes and changelog path --- diff --git a/docs/tools/sf2bacula_downloads.pl b/docs/tools/sf2bacula_downloads.pl index e40e5d0a..fad7bb4f 100755 --- a/docs/tools/sf2bacula_downloads.pl +++ b/docs/tools/sf2bacula_downloads.pl @@ -25,12 +25,12 @@ You can also use a previous output # bacula|depkgs | depkgs-qt my $version = '5.0.0'; -if ($ARGV[0] =~ /^[\d\.]+$/) { +if ($ARGV[0] and $ARGV[0] =~ /^[\d\.]+$/) { $version = shift(@ARGV); } my $depkgs_version = '18Dec09|28Jul09'; -my $base = "http://bacula.svn.sourceforge.net/viewvc/bacula/tags/Release-$version/bacula"; +my $base = "http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob_plain;hb=Release-$version;f=bacula"; my $notes = "$base/ReleaseNotes"; my $chglog = "$base/ChangeLog"; my %cats;