]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oe-setup-build: Fix typo
authorRyan Eatmon <reatmon@ti.com>
Thu, 5 Sep 2024 20:41:16 +0000 (15:41 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Sep 2024 20:46:47 +0000 (21:46 +0100)
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>
scripts/oe-setup-build

index c0476992a2a4ee91d29a9793ae5931942c20b2a3..1cb06b3b793329f79ecc44a4dee6303fb2664d32 100755 (executable)
@@ -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):