fix branch reset to happen in the right directory

This commit is contained in:
Frédéric Péters 2015-12-22 22:35:24 +01:00
parent 5cc293cde4
commit d95acfd61e
1 changed files with 1 additions and 0 deletions

View File

@ -428,6 +428,7 @@ def main():
os.mkdir(project['lock_path'], 0755)
for dist in options.distrib:
os.chdir(git_project_path)
call("git checkout --quiet %s" % options.branch)
package = prepare_build(dist, project, options, new)
if package: