prevent building source package two times by not including the repository name in the lock file

This commit is contained in:
Benjamin Dauvergne 2016-04-25 13:13:07 +02:00
parent 1a422bfd52
commit b7b5a6984e
1 changed files with 1 additions and 2 deletions

View File

@ -293,9 +293,8 @@ def build_project(dist, arch, project, package, new):
os.makedirs(pbuilder_project_result, 0755)
os.chdir(project['lock_path'])
source_build = os.path.join(project['lock_path'],
"%s_%s_%s_%s_source.build" % (project['name'],
"%s_%s_%s_source.build" % (project['name'],
project['version'],
package['repository'],
project['build_branch'].replace('/', '_'))
)
bin_build = os.path.join(project['lock_path'],