aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-01-28 13:09:30 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-01-28 13:09:30 +0000
commitac10f2379199f2100677b456072618d588a1110e (patch)
tree8b576644dee8c66c070f5193319d9b9d82d129e2
parent9a47f7ca55a85510b213803a90f87bf653ceda54 (diff)
downloadmga-youri-submit-ac10f2379199f2100677b456072618d588a1110e.tar
mga-youri-submit-ac10f2379199f2100677b456072618d588a1110e.tar.gz
mga-youri-submit-ac10f2379199f2100677b456072618d588a1110e.tar.bz2
mga-youri-submit-ac10f2379199f2100677b456072618d588a1110e.tar.xz
mga-youri-submit-ac10f2379199f2100677b456072618d588a1110e.zip
Oops, improve regexp to not match cooker
-rw-r--r--lib/Youri/Submit/Action/Archive.pm2
1 files changed, 1 insertions, 1 deletions
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;