summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHéctor Orón Martínez <hector.oron@collabora.co.uk>2014-01-15 21:50:43 (GMT)
committerHéctor Orón Martínez <hector.oron@collabora.co.uk>2014-01-15 21:50:43 (GMT)
commit4f31b84839e5591633ace337b0ec00750ac6a9fa (patch)
treef40c89e8f4e82f78c53ab478d03b8d0c5186c46b
parent723663a9a17dcb1425d61830cbe920a97fe6b961 (diff)
downloadopen-build-service-4f31b84839e5591633ace337b0ec00750ac6a9fa.tar.gz
open-build-service-4f31b84839e5591633ace337b0ec00750ac6a9fa.tar.xz
Fix typo in [81da36b].collabora-2.3.8
Fix typo in [81da36b] Add multiple BugZilla instances support. Cosmetic print changes Signed-off-by: Héctor Orón Martínez <hector.oron@collabora.co.uk>
-rwxr-xr-xsrc/backend/bs_sched5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/bs_sched b/src/backend/bs_sched
index 549501b..3b75ec0 100755
--- a/src/backend/bs_sched
+++ b/src/backend/bs_sched
@@ -2672,7 +2672,7 @@ sub jobfinished {
writexml("$statusdir/.status", "$statusdir/status", $status, $BSXML::buildstatus);
while( my ($k, $v) = each %$BSConfig::bugzilla_prefix ) {
- if ($prp ~ /^$k/) {
+ if ($prp =~ /^$k/) {
# Find the latest version built
# To extract a changelog:
# dpkg-deb --fsys-tarfile package.deb | tar -O -xvf - ./usr/share/doc/$packid/changelog.Debian.gz | gunzip | dpkg-parsechangelog -l-
@@ -2681,11 +2681,12 @@ sub jobfinished {
opendir(D, "$reporoot/$prp/$myarch/$packid/");
my $packageName = "";
my $packageVersion = "";
+ print " - Scanning bugs for $prp\n";
while (my $file = readdir(D)) {
if ($file =~ /\.changes$/) {
open(CHANGELOG, "$reporoot/$prp/$myarch/$packid/$file");
my $inChanges = 0;
- print "Found .changes file:\n";
+ print " - Found .changes file:\n";
while(<CHANGELOG>) {
chomp;
print $_."\n";