summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-08 13:37:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-26 15:38:28 +0000
commit3975e0ea7ab2053a137f1797466b7f60b0a42bcf (patch)
tree0ca5bccd2eb57853ab9ce937622639af13d8bdec /scripts
parentdd4921cf36a6cf87ba2c9989f9cf5a9cc91b31df (diff)
downloadpoky-3975e0ea7ab2053a137f1797466b7f60b0a42bcf.tar.gz
oe-build-perf-report: Allow branch without hostname
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. (From OE-Core rev: 3ec43bf4c6c8f7730a67f63ad4e14903f289014e) (From OE-Core rev: e95277e859adb3e3ca26c8c618954ae52ec3bff4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-build-perf-report4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index dc999c45c1..38c0ee885d 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -510,10 +510,10 @@ def auto_args(repo, args):
510 510
511 key = split[0] 511 key = split[0]
512 val = split[1].strip() 512 val = split[1].strip()
513 if key == 'hostname': 513 if key == 'hostname' and not args.hostname:
514 log.debug("Using hostname %s", val) 514 log.debug("Using hostname %s", val)
515 args.hostname = val 515 args.hostname = val
516 elif key == 'branch': 516 elif key == 'branch' and not args.branch:
517 log.debug("Using branch %s", val) 517 log.debug("Using branch %s", val)
518 args.branch = val 518 args.branch = val
519 519