[PATCH][autobuilder-helper][thud 02/40] run-config: Fix uninitalized variable problem


Richard Purdie
 

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
scripts/run-config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/run-config b/scripts/run-config
index e56050f..0097f97 100755
--- a/scripts/run-config
+++ b/scripts/run-config
@@ -151,7 +151,7 @@ def runcmd(cmd, *args, **kwargs):
except subprocess.CalledProcessError:
print("ERROR: Command %s failed" % cmd)

-bh_path, remoterepo, remotebranch, baseremotebranch = utils.getbuildhistoryconfig(ourconfig, args.builddir, args.target, args.reponame, args.branchname, stepnum)
+bh_path, remoterepo, remotebranch, baseremotebranch = utils.getbuildhistoryconfig(ourconfig, args.builddir, args.target, args.reponame, args.branchname, 1)
if bh_path:
runcmd([os.path.join(scriptsdir, "buildhistory-init"), bh_path, remoterepo, remotebranch, baseremotebranch])

--
2.25.1

Join yocto@lists.yoctoproject.org to automatically receive all group messages.