summaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-report
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-02-08 23:15:32 +0000
commit054ecaba7885c09b6eb2df0cdf10ca21b7eb0e9d (patch)
tree40248ebb2c909d9ecb8fdf73a8df2aab29ac21e8 /scripts/oe-build-perf-report
parent84b1f0dcf75d1dbb8de0eb006946d0cd40a07a36 (diff)
downloadpoky-054ecaba7885c09b6eb2df0cdf10ca21b7eb0e9d.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) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-build-perf-report')
-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 0bd05f44ef..c91f74192b 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -512,10 +512,10 @@ def auto_args(repo, args):
512 512
513 key = split[0] 513 key = split[0]
514 val = split[1].strip() 514 val = split[1].strip()
515 if key == 'hostname': 515 if key == 'hostname' and not args.hostname:
516 log.debug("Using hostname %s", val) 516 log.debug("Using hostname %s", val)
517 args.hostname = val 517 args.hostname = val
518 elif key == 'branch': 518 elif key == 'branch' and not args.branch:
519 log.debug("Using branch %s", val) 519 log.debug("Using branch %s", val)
520 args.branch = val 520 args.branch = val
521 521