]> git.sur5r.net Git - bacula/docs/commitdiff
tweak sf2bacula download tool
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 18 Oct 2010 12:36:22 +0000 (14:36 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 18 Oct 2010 12:36:22 +0000 (14:36 +0200)
docs/tools/sf2bacula_downloads.pl

index 668ea84b3f5d39e1ce546b88050a0f68cc24e151..72d7bdd9d334c7c2c0f493178c516fffe0cd7066 100755 (executable)
@@ -28,7 +28,7 @@ my $version = '5.0.1';
 if ($ARGV[0] and $ARGV[0] =~ /^[\d\.]+$/) {
     $version = shift(@ARGV);
 }
-my $depkgs_version  = '18Dec09|28Jul09';
+my $depkgs_version  = '18Dec09|28Jul09|15May10';
 
 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";
@@ -50,7 +50,7 @@ open(FP, $file);
 while (my $l = <FP>)
 {
     #                                         cat   vers  file
-    if ($l =~ m!href="(/projects/bacula/files/([^/]+)/([^/]+)/([^/]+)/download)"!) {
+    if ($l =~ m!href="(?:http://sourceforge.net)(/projects/bacula/files/([^/]+)/([^/]+)/([^/]+)/download)"!) {
         print STDERR "$4\n";
         $cur = {
             dl  => $1,