Navigation Menu

Skip to content

Commit

Permalink
[backend] bs_publish: cut out buildid for repotype slepool:nobuildid
Browse files Browse the repository at this point in the history
  • Loading branch information
bugfinder committed Sep 29, 2016
1 parent a7d3bf9 commit 580cb30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/bs_publish
Expand Up @@ -1525,7 +1525,9 @@ sub publish {
# HACK: do fancy sle repo renaming
my $name = $repotype{'slepool'}->[0] || 'product';
$p = $bin;
if ($bin =~ /.*-Media1(\.license|)$/) {
if ($name eq 'nobuildid') {
$p =~ s/-Build\d+-/-/;
} elsif ($bin =~ /.*-Media1(\.license|)$/) {
$p = "$name$1";
} elsif ($bin =~ /-Media3$/) {
$p = "${name}_debug";
Expand Down

0 comments on commit 580cb30

Please sign in to comment.