summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2024-09-05 15:41:16 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-05 21:47:22 +0100
commitf0e84fa257d6608aab49c3b9a44cfc2316abd90d (patch)
tree5f012fa11e1d03099548bf4fcf562f3619e22259
parent6e0dc47ce41a31cd319c9b540b01a9d9c7138fa9 (diff)
downloadpoky-f0e84fa257d6608aab49c3b9a44cfc2316abd90d.tar.gz
oe-setup-build: Fix typo
A variable was mistyped in an error message resulting in this error: NameError: name 'tempalte_name' is not defined. Did you mean: 'template_name'? (From OE-Core rev: 275a3c015d37729c3b0c9cc4395d50ea2f210f02) Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/oe-setup-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-setup-build b/scripts/oe-setup-build
index c0476992a2..1cb06b3b79 100755
--- a/scripts/oe-setup-build
+++ b/scripts/oe-setup-build
@@ -77,7 +77,7 @@ def find_template(template_name, templates):
77 for t in templates: 77 for t in templates:
78 if t["templatename"] == template_name: 78 if t["templatename"] == template_name:
79 return t 79 return t
80 print("Configuration {} is not one of {}, please try again.".format(tempalte_name, [t["templatename"] for t in templates])) 80 print("Configuration {} is not one of {}, please try again.".format(template_name, [t["templatename"] for t in templates]))
81 return None 81 return None
82 82
83def setup_build_env(args): 83def setup_build_env(args):