Skip to contentSkip to conversation

utils: fix 'polution' misspelling

PATCH In review Raymond Wang 2 participants 2 messages Nov 18

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils: fix 'polution' misspelling

* lib/bb/utils.py (mkdirhier): Fix 'polution' misspelling with 'pollution'

---
 lib/bb/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/utils.py +1 -1
index 0e2677f8e..fdc243737 100644
@@ -954,7 +954,7 @@ def mkdirhier(directory):
     No return value.
     """
     if '${' in str(directory):
-        bb.fatal("Directory name {} contains unexpanded bitbake variable. This may cause build failures and WORKDIR polution.".format(directory))
+        bb.fatal("Directory name {} contains unexpanded bitbake variable. This may cause build failures and WORKDIR pollution.".format(directory))
     try:
         os.makedirs(directory)
     except OSError as e:
Signature · 1 line
2.56.1
#1 lore raw
Quoted 11 lines · Raymond Wang via bitbake-devel

* lib/bb/utils.py (mkdirhier): Fix 'polution' misspelling with 'pollution'
---
 lib/bb/utils.py | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/utils.py +0 -0
index 0e2677f8e..fdc243737 100644
@@ -954,7 +954,7 @@ def mkdirhier(directory):
Quoted 8 lines

     No return value.
     """
     if '${' in str(directory):
-        bb.fatal("Directory name {} contains unexpanded bitbake variable. This may cause build failures and WORKDIR polution.".format(directory)) +        bb.fatal("Directory name {} contains unexpanded bitbake variable. This may cause build failures and WORKDIR pollution.".format(directory)) try:
         os.makedirs(directory)
     except OSError as e:

Thanks, I merged this since it is simple. In future patches should have a Signed-off-by line though please!

Cheers,

Richard