summaryrefslogtreecommitdiffstats
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:45 +0100
commit4a438bec7570eba9ae6fcc76b78f1a9da0b62a34 (patch)
tree6ab0f68c942c3f64e579622779c7f6a6648d6688
parente36356796fbb8e12df88c49be9abc697709bc275 (diff)
downloadpoky-4a438bec7570eba9ae6fcc76b78f1a9da0b62a34.tar.gz
poky-4a438bec7570eba9ae6fcc76b78f1a9da0b62a34.tar.bz2
poky-4a438bec7570eba9ae6fcc76b78f1a9da0b62a34.zip
glibc: fix false failure
do not just fail if grep does not match the locale name in the list (From OE-Core rev: 6fdbd9129c602fd58179e5880e070c1ec7ea5540) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 b16ebd3c54..57d693c803 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