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>
This commit is contained in:
Ryan Eatmon 2024-09-05 15:41:16 -05:00 committed by Richard Purdie
parent 6e0dc47ce4
commit f0e84fa257

View File

@ -77,7 +77,7 @@ def find_template(template_name, templates):
for t in templates:
if t["templatename"] == template_name:
return t
print("Configuration {} is not one of {}, please try again.".format(tempalte_name, [t["templatename"] for t in templates]))
print("Configuration {} is not one of {}, please try again.".format(template_name, [t["templatename"] for t in templates]))
return None
def setup_build_env(args):