Merge pull request #17 from abf/rosa-build:16-fix_mass_build_arches

[#16] Fix ignoring selection of architectures for Mass Build
This commit is contained in:
warpc 2013-03-21 19:05:40 +04:00
commit 96698b4195
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class MassBuild < ActiveRecord::Base
def build_all
# later with resque
arches_list = arches ? Arch.where(:id => arches) : Arch.all
arches_list = arch_names ? Arch.where(:name => arch_names.split(', ')) : Arch.all
auto_publish ||= false
projects_list.lines.each do |name|