summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-07-12 11:50:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-13 12:15:26 +0100
commit6fdbd9129c602fd58179e5880e070c1ec7ea5540 (patch)
treeb3aef60c0d4460d148d7907233236b5c6445f33c
parentadf2fbf82da7f85bb06e3b01e84a1a45814aaa51 (diff)
downloadopenembedded-core-6fdbd9129c602fd58179e5880e070c1ec7ea5540.tar.gz
openembedded-core-6fdbd9129c602fd58179e5880e070c1ec7ea5540.tar.bz2
openembedded-core-6fdbd9129c602fd58179e5880e070c1ec7ea5540.tar.xz
openembedded-core-6fdbd9129c602fd58179e5880e070c1ec7ea5540.zip
glibc: fix false failure
do not just fail if grep does not match the locale name in the list Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
-rw-r--r--meta/recipes-core/glibc/glibc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index b16ebd3c5..57d693c80 100644
--- a/meta/recipes-core/glibc/glibc.inc
+++ b/meta/recipes-core/glibc/glibc.inc
@@ -48,7 +48,7 @@ do_rig_locales() {
head -n 3 $INFILE > $OUTFILE
for i in ${LIMIT_BUILT_LOCALES}; do
echo
- grep $i $INFILE >> $OUTFILE
+ grep $i $INFILE >> $OUTFILE || true
done
head --lines=-1 $OUTFILE > $INFILE
tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE