summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index b39ac130a7..c3a211eefd 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -219,12 +219,12 @@ def package_qa_check_rpath(file,name,d):
#bb.note("???%s???" % bad_dir_test)
for line in txt:
#bb.note("===%s===" % line)
- if bad_dirin line:
+ if bad_dir in line:
package_qa_write_error( 1, name, file, d)
bb.error("QA Issue package %s contains bad RPATH %s in file %s" % (name, line, file))
#bb.note("Fixing RPATH for you in %s" % file)
#os.popen("%s -r /lib %s" % (chrpath,file))
- return True
+ return False
return True
def package_qa_check_devdbg(path, name,d):