summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 3cf1c56ae..ab929ad61 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -175,6 +175,12 @@ def check_sanity(e):
f.write(current_abi)
f.close()
+ oeroot = data.getVar('OEROOT', e.data)
+ if oeroot.find ('+') != -1:
+ messages = messages + "Error, you have an invalid character (+) in your OEROOT directory path. Please more Poky to a directory which doesn't include a +."
+ elif oeroot.find (' ') != -1:
+ messages = messages + "Error, you have a space in your OEROOT directory path. Please move Poky to a directory which doesn't include a space."
+
if messages != "":
raise_sanity_error(messages)