summaryrefslogtreecommitdiffstats
path: root/autobuild/results.php
diff options
context:
space:
mode:
Diffstat (limited to 'autobuild/results.php')
-rw-r--r--autobuild/results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php
index 3b2b124..c9bb05d 100644
--- a/autobuild/results.php
+++ b/autobuild/results.php
@@ -6,7 +6,7 @@
<?php
function parse_package($rpm) {
- if (preg_match("/(.*)-([^-]*-[^-]*mga)[1-9].src.rpm/", $rpm, $matches)) {
+ if (preg_match("/(.*)-([^-]*-[^-]*mga)[0-9]+.src.rpm/", $rpm, $matches)) {
return Array('package' => $matches[1], 'version' => $matches[2]);
} else {
return false;