summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/license.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 9c4ccb31e3..5e9ebe5ef4 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -69,7 +69,7 @@ python do_populate_lic() {
69 for license_type in ((license_types.replace('+', '').replace('|', '&') 69 for license_type in ((license_types.replace('+', '').replace('|', '&')
70 .replace('(', '').replace(')', '').replace(';', '') 70 .replace('(', '').replace(')', '').replace(';', '')
71 .replace(',', '').replace(" ", "").split("&"))): 71 .replace(',', '').replace(" ", "").split("&"))):
72if os.path.isfile(os.path.join(generic_directory, license_type)): 72 if os.path.isfile(os.path.join(generic_directory, license_type)):
73 gen_lic_dest = os.path.join(bb.data.getVar('LICENSE_DIRECTORY', d, True), "common-licenses") 73 gen_lic_dest = os.path.join(bb.data.getVar('LICENSE_DIRECTORY', d, True), "common-licenses")
74 try: 74 try:
75 bb.mkdirhier(gen_lic_dest) 75 bb.mkdirhier(gen_lic_dest)