Skip to content

Commit

Permalink
[backend] add workaround so that we can publish in RPMS/SRPMS dirs in…
Browse files Browse the repository at this point in the history
…stead of using the arch
  • Loading branch information
mlschroe committed Jun 11, 2015
1 parent 9f2f435 commit c0d3cd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_publish
Expand Up @@ -1390,6 +1390,7 @@ sub publish {
my $p;
if ($bin =~ /^.+-[^-]+-[^-]+\.([a-zA-Z][^\/\.\-]*)\.d?rpm$/) {
$p = "$1/$bin";
$p = $1 eq 'src' || $1 eq 'nosrc' ? "SRPMS/$bin" : "RPMS/$bin" if $repotype{'resarchhack'};
} elsif ($bin =~ /^.+_[^_]+_([^_\.]+)\.deb$/) {
$p = "$1/$bin";
} elsif ($bin =~ /\.exe$/) {
Expand Down

0 comments on commit c0d3cd8

Please sign in to comment.