diff mbox series

[scarthgap] oe-setup-build: Fix typo

Message ID efe6271e-fb70-4fd3-8992-5f4116d2595c@gmail.com
State Under Review
Delegated to: Yoann Congal
Headers show
Series [scarthgap] oe-setup-build: Fix typo | expand

Commit Message

Clayton Casciato March 9, 2026, 11:11 p.m. UTC
From:
https://git.openembedded.org/openembedded-core/commit/?id=275a3c015d37729c3b0c9cc4395d50ea2f210f02

A variable was mistyped in an error message resulting in this error:

NameError: name 'tempalte_name' is not defined. Did you mean: 'template_name'?

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
---
Sponsor: 21SoftWare LLC

 scripts/oe-setup-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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):