summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-03-15 21:57:55 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-16 16:44:22 +0000
commit0de88dc9aa30f29ec1ab5cc0c541c8be859392ab (patch)
tree3120e7ac65f10adc30dc1159576d28f3bf4f3117
parent3878ef5deacda480b7c689720733c03ef6b3c702 (diff)
downloadopenembedded-core-0de88dc9aa30f29ec1ab5cc0c541c8be859392ab.tar.gz
openembedded-core-0de88dc9aa30f29ec1ab5cc0c541c8be859392ab.tar.bz2
openembedded-core-0de88dc9aa30f29ec1ab5cc0c541c8be859392ab.zip
package.bbclass: Fix missing debug src files
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>
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index a7a5894b43..e6b3df7b4f 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -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))