Merge branch 'master' of github.com:warpc/rosa-build

This commit is contained in:
Ilya Krasilnikov 2011-10-26 02:30:53 +04:00
commit 398d4b2b66
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class BuildList < ActiveRecord::Base
def place_build
#XML-RPC params: project_name, project_version, plname, arch, bplname, update_type, build_requires, id_web
self.status = BuildServer.add_build_list project.name, project_version, pl.unixname, arch.name, bpl.unixname, update_type, build_requires, id
self.status = BuildServer.add_build_list project.name, project_version, pl.unixname, arch.name, (pl_id == bpl_id ? '' : bpl.unixname), update_type, build_requires, id
self.status = BUILD_PENDING if self.status == 0
save
end