summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-03-24 16:17:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 08:15:06 +0100
commit60f32a00dcd4b965a770279bbe0dd05295afee6a (patch)
tree25339b761a07935d96d75e7936471a0135b01af9
parentf4b541978780a05fec73ac874b815167a90e56d8 (diff)
downloadpoky-60f32a00dcd4b965a770279bbe0dd05295afee6a.tar.gz
scripts/oe-git-archive: fix pushing
Git arguments were badly laid out. (From OE-Core rev: cea9c1380891a85f686cb3b5cb42b6166f38e8d5) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/oe-git-archive5
1 files changed, 3 insertions, 2 deletions
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):
231 # Push data to remote 231 # Push data to remote
232 if args.push: 232 if args.push:
233 cmd = ['push', '--tags'] 233 cmd = ['push', '--tags']
234 # If no remote is given we push with the default settings from
235 # gitconfig
234 if args.push is not True: 236 if args.push is not True:
235 cmd.extend(['--repo', args.push]) 237 cmd.extend([args.push, branch_name])
236 cmd.append(branch_name)
237 log.info("Pushing data to remote") 238 log.info("Pushing data to remote")
238 data_repo.run_cmd(cmd) 239 data_repo.run_cmd(cmd)
239 240