[1/2] classes/insane: fix regression in libdir QA regex

Submitted by Paul Eggleton on July 15, 2013, 6:17 p.m.

Details

Message ID 04ff4f22a900cff90b51d55e383edae1385384da.1373912179.git.paul.eggleton@linux.intel.com
State Accepted
Commit 194e47e6d8d9b9ee98e0203f0ebb574084277c46
Headers show

Commit Message

Paul Eggleton July 15, 2013, 6:17 p.m.
There was a slight mistake in the recent change to the lib_re regex -
it still needs to begin with a /.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 1023092..b875ac0 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -265,7 +265,7 @@  def package_qa_check_libdir(d):
             full_path = os.path.join(root,file)
             my_files.append(full_path[len(pkgd):])
 
-    lib_re = re.compile("^lib.+\.so(\..+)?$")
+    lib_re = re.compile("^/lib.+\.so(\..+)?$")
     exec_re = re.compile("^%s.*/lib.+\.so(\..+)?$" % exec_prefix)
 
     for file in my_files: