Allow the branch to be set without the hostname option. Previously if hostname wasn't set, branch would be overwritten regardless of whether it was set or not.
Signed-off-by: Richard Purdie <[email protected]> --- scripts/oe-build-perf-report | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index 0bd05f44ef0..c91f74192b3 100755 --- a/scripts/oe-build-perf-report +++ b/scripts/oe-build-perf-report @@ -512,10 +512,10 @@ def auto_args(repo, args): key = split[0] val = split[1].strip() - if key == 'hostname': + if key == 'hostname' and not args.hostname: log.debug("Using hostname %s", val) args.hostname = val - elif key == 'branch': + elif key == 'branch' and not args.branch: log.debug("Using branch %s", val) args.branch = val -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
