From 1999cbf12346a32893bdcc0f13b6f39016ff1e43 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 18 Oct 2010 14:36:22 +0200 Subject: [PATCH] tweak sf2bacula download tool --- docs/tools/sf2bacula_downloads.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tools/sf2bacula_downloads.pl b/docs/tools/sf2bacula_downloads.pl index 668ea84b..72d7bdd9 100755 --- a/docs/tools/sf2bacula_downloads.pl +++ b/docs/tools/sf2bacula_downloads.pl @@ -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 = ) { # 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, -- 2.39.5