From ac10f2379199f2100677b456072618d588a1110e Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 28 Jan 2010 13:09:30 +0000 Subject: Oops, improve regexp to not match cooker --- lib/Youri/Submit/Action/Archive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Youri/Submit/Action/Archive.pm b/lib/Youri/Submit/Action/Archive.pm index 875349f..9b47f87 100644 --- a/lib/Youri/Submit/Action/Archive.pm +++ b/lib/Youri/Submit/Action/Archive.pm @@ -47,7 +47,7 @@ sub run { my $file = $replaced_package->get_file(); # trap for debugging bug 34999 - if ($file =~ /[\d.]*\/(main\/updates|.*\/release)/) { + if ($file =~ /\/[\d.]+\/(main\/updates|.*\/release)/) { my $bugmsg = "BUG#34999 WARNING: trying to remove from a release: $file\n"; open(BUG34999LOG, '>>', "/home/mandrake/bug34999.log"); print $bugmsg; -- cgit v1.2.1