From 6fdbd9129c602fd58179e5880e070c1ec7ea5540 Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Tue, 12 Jul 2011 11:50:19 -0700 Subject: 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 --- meta/recipes-core/glibc/glibc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/glibc') 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 -- cgit v1.2.3