summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-07-26 16:55:43 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-28 09:20:52 +0100
commit6c93f7095e78281e010e84fa7c6212da9a91d39f (patch)
tree2447bd0e5edd7c8e8c52fce093475ee0e5a81078 /meta/classes/image.bbclass
parenta5227e205b4b22fd27989a3ca6bd722d35ac1435 (diff)
downloadpoky-6c93f7095e78281e010e84fa7c6212da9a91d39f.tar.gz
image.bbclass: Fix a couple innocuous typoes, should cause no functional change
"error_promt" -> "error_prompt" changed in both places "subfolers" -> "subfolders" since it's not referenced anyway (From OE-Core rev: cc1f824778c023686b4ea75c64a182a138ff2267) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 1799bf1865..0a380f1172 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -266,12 +266,12 @@ import sys, os, os.path
266import re,filecmp 266import re,filecmp
267 267
268allow_rep=re.compile(re.sub("\|$","","${MULTILIBRE_ALLOW_REP}")) 268allow_rep=re.compile(re.sub("\|$","","${MULTILIBRE_ALLOW_REP}"))
269error_promt="Multilib check error:" 269error_prompt="Multilib check error:"
270 270
271files={} 271files={}
272dirs=raw_input() 272dirs=raw_input()
273for dir in dirs.split(): 273for dir in dirs.split():
274 for root, subfolers, subfiles in os.walk(dir): 274 for root, subfolders, subfiles in os.walk(dir):
275 for file in subfiles: 275 for file in subfiles:
276 item=os.path.join(root,file) 276 item=os.path.join(root,file)
277 key=str(os.path.join("/",os.path.relpath(item,dir))) 277 key=str(os.path.join("/",os.path.relpath(item,dir)))
@@ -284,7 +284,7 @@ for dir in dirs.split():
284 else: 284 else:
285 if not filecmp.cmp(files[key],item): 285 if not filecmp.cmp(files[key],item):
286 valid=False 286 valid=False
287 print("%s duplicate files %s %s is not the same\n" % (error_promt, item, files[key])) 287 print("%s duplicate files %s %s is not the same\n" % (error_prompt, item, files[key]))
288 sys.exit(1) 288 sys.exit(1)
289 289
290 #pass the check, add to list 290 #pass the check, add to list