GREP_OPTION=--color=always breaks config

Kevin Kirkup kevin.kirkup@gmail.com
Mon Dec 28 04:13:00 GMT 2009


When the GREP_OPTIONS is set to --color=always, the configure step
fails.

Steps to reproduce:
1) set the GREP_OPTIONS flag in bash
 $ export GREP_OPTIONS=--color=always
2) Run ct-ng config
 $ ct-ng menuconfig arm-unknown-linux-gnueabi
3) Build fails with the following error:

config.gen/arch.in:19: unknown option "01"
config.gen/arch.in:24: unknown option "01"
config.gen/arch.in:33: unknown option "01"
config.gen/arch.in:42: unknown option "01"
config.gen/libc.in:11: unknown option "01"
config.gen/libc.in:16: unknown option "01"
config.gen/libc.in:21: unknown option "01"
config.gen/libc.in:26: unknown option "01"

^[[01;31m^[[K# depends on ^[[m^[[KEXPERIMENTAL

4) Unset GREP_OPTIONS
 $ export GREP_OPTIONS=

5) Reconfigure
 $ ct-ng menuconfig arm-unknown-linux-gnueabi

6) Build works fine.

Any ideas?
--
Kevin S Kirkup
email: kevin.kirkup@gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20091228/8af95033/attachment.sig>


More information about the crossgcc mailing list