From cea9c1380891a85f686cb3b5cb42b6166f38e8d5 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 24 Mar 2017 16:17:27 +0200 Subject: scripts/oe-git-archive: fix pushing Git arguments were badly laid out. Signed-off-by: Markus Lehtonen Signed-off-by: Richard Purdie --- scripts/oe-git-archive | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/oe-git-archive') diff --git a/scripts/oe-git-archive b/scripts/oe-git-archive index 117118b04e..aef4ba10a7 100755 --- a/scripts/oe-git-archive +++ b/scripts/oe-git-archive @@ -231,9 +231,10 @@ def main(argv=None): # Push data to remote if args.push: cmd = ['push', '--tags'] + # If no remote is given we push with the default settings from + # gitconfig if args.push is not True: - cmd.extend(['--repo', args.push]) - cmd.append(branch_name) + cmd.extend([args.push, branch_name]) log.info("Pushing data to remote") data_repo.run_cmd(cmd) -- cgit v1.2.3