diff --git a/eobuilder-ctl b/eobuilder-ctl index d82f295..40ae7cb 100755 --- a/eobuilder-ctl +++ b/eobuilder-ctl @@ -469,7 +469,7 @@ def setup_git_tree(project_reference, options): project_url = project_reference call("git clone %s" % project_url) if options.branch: - subprocess.check_call(['git', 'checkout', '--quiet', branch_name], + subprocess.check_call(['git', 'checkout', '--quiet', options.branch], cwd=git_project_path) branch_name = get_git_branch_name(project_reference)