classes/insane: fix regression in libdir QA regex

There was a slight mistake in the recent change to the lib_re regex -
it still needs to begin with a /.

(From OE-Core rev: 194e47e6d8d9b9ee98e0203f0ebb574084277c46)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2013-07-15 19:17:43 +01:00 committed by Richard Purdie
parent 314b92a8ed
commit 20d7b27b8f
1 changed files with 1 additions and 1 deletions

View File

@ -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: