diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-07-12 11:50:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-13 12:15:45 +0100 |
commit | 4a438bec7570eba9ae6fcc76b78f1a9da0b62a34 (patch) | |
tree | 6ab0f68c942c3f64e579622779c7f6a6648d6688 /meta/recipes-core | |
parent | e36356796fbb8e12df88c49be9abc697709bc275 (diff) | |
download | poky-4a438bec7570eba9ae6fcc76b78f1a9da0b62a34.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | 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 b16ebd3c54..57d693c803 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc | |||
@@ -48,7 +48,7 @@ do_rig_locales() { | |||
48 | head -n 3 $INFILE > $OUTFILE | 48 | head -n 3 $INFILE > $OUTFILE |
49 | for i in ${LIMIT_BUILT_LOCALES}; do | 49 | for i in ${LIMIT_BUILT_LOCALES}; do |
50 | echo | 50 | echo |
51 | grep $i $INFILE >> $OUTFILE | 51 | grep $i $INFILE >> $OUTFILE || true |
52 | done | 52 | done |
53 | head --lines=-1 $OUTFILE > $INFILE | 53 | head --lines=-1 $OUTFILE > $INFILE |
54 | tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE | 54 | tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE |