]> git.sur5r.net Git - bacula/docs/commitdiff
fix release notes and changelog path
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 26 Jan 2010 08:20:18 +0000 (09:20 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 3 Feb 2010 10:08:49 +0000 (11:08 +0100)
docs/tools/sf2bacula_downloads.pl

index e40e5d0abb5a4db00438366afbb373cc9497adec..fad7bb4f9dfa835670bb8cb1836530e9209d1b89 100755 (executable)
@@ -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;