Merge pull request #941 from warpc/940-fix-path-to-project-for-iso-worker

[refs #940]: change path for downloading project for build ISO
This commit is contained in:
Vladimir Sharshov 2013-02-18 01:11:14 -08:00
commit 7efae107eb
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class ProductBuildList < ActiveRecord::Base
end end
def abf_worker_args def abf_worker_args
file_name = "#{project.owner.uname}-#{project.name}-#{commit_hash}" file_name = "#{project.name}-#{commit_hash}"
opts = {:host => ActionMailer::Base.default_url_options[:host]} opts = {:host => ActionMailer::Base.default_url_options[:host]}
opts.merge!({:user => user.authentication_token, :password => ''}) if user.present? opts.merge!({:user => user.authentication_token, :password => ''}) if user.present?
srcpath = url_helpers.archive_url( srcpath = url_helpers.archive_url(