summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2015-12-22 21:35:24 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2015-12-22 21:35:24 (GMT)
commitd95acfd61efc763178321f3fe313eca38a94ceba (patch)
tree4fec6b651b3045443783ee0797935769b6c65de9
parent5cc293cde4ec8a207f7ea3f321834ba53729f8be (diff)
downloadeobuilder-d95acfd61efc763178321f3fe313eca38a94ceba.zip
eobuilder-d95acfd61efc763178321f3fe313eca38a94ceba.tar.gz
eobuilder-d95acfd61efc763178321f3fe313eca38a94ceba.tar.bz2
fix branch reset to happen in the right directory
-rwxr-xr-xeobuilder-ctl1
1 files changed, 1 insertions, 0 deletions
diff --git a/eobuilder-ctl b/eobuilder-ctl
index 897a899..533d76d 100755
--- a/eobuilder-ctl
+++ b/eobuilder-ctl
@@ -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: