]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: Fix missing debug src files
authorMark Hatle <mark.hatle@windriver.com>
Wed, 16 Mar 2011 02:57:55 +0000 (21:57 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Mar 2011 16:44:22 +0000 (16:44 +0000)
The previous change used egrep instead of fgrep.  We need to use fgrep because
there are expression like syntaxes in some file names, we need exact matches.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/classes/package.bbclass

index a7a5894b4362de1dc6b657219d1eb5ee29a31e8a..e6b3df7b4f46facee0cafcb23191581f5973deee 100644 (file)
@@ -233,7 +233,7 @@ def splitfile2(debugsrcdir, d):
        processdebugsrc =  "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | "
        # We need to ignore files that are not actually ours
        # we do this by only paying attention to items from this package
-       processdebugsrc += "egrep -z '%s' | "
+       processdebugsrc += "fgrep -z '%s' | "
        processdebugsrc += "(cd '%s' ; cpio -pd0mL '%s%s' 2>/dev/null)"
 
        os.system(processdebugsrc % (sourcefile, workbasedir, workparentdir, dvar, debugsrcdir))