From f2d6c89b8c463b1a0ed9dbe95e000c86a163b9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 13 Jul 2020 09:53:21 +0200 Subject: [PATCH] fix branch switching to use value from options (#45062) --- eobuilder-ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)