From 26475426bdb4f3c856b7a8b21367ca3b4a1d5aad Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Thu, 5 Sep 2024 15:41:16 -0500 Subject: [PATCH] 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: 2b69c249ab3e2fc0ffb6196080fe35266ee91bd3) Signed-off-by: Ryan Eatmon Signed-off-by: Richard Purdie (cherry picked from commit 275a3c015d37729c3b0c9cc4395d50ea2f210f02) Signed-off-by: Clayton Casciato Signed-off-by: Yoann Congal Signed-off-by: Paul Barker --- scripts/oe-setup-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): 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):