[oe-commits] Nitin A Kamble : glibc: fix false failure

git version control git at git.openembedded.org
Wed Jul 13 11:15:57 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 6fdbd9129c602fd58179e5880e070c1ec7ea5540
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6fdbd9129c602fd58179e5880e070c1ec7ea5540

Author: Nitin A Kamble <nitin.a.kamble at intel.com>
Date:   Tue Jul 12 11:50:19 2011 -0700

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 at intel.com>

---

 meta/recipes-core/glibc/glibc.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index b16ebd3..57d693c 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





More information about the Openembedded-commits mailing list