diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-12-29 21:16:51 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-12-29 21:16:51 +0100 |
commit | d691923e8865d08dda1c77f536cbcd5fa0b51bfd (patch) | |
tree | a9f1b45108e700104bf70cb1cdc9d2b6a44a186e /ct-ng.in | |
parent | 0e097f0b25e61866dad557993ae76b2dbd1bf6ac (diff) | |
download | crosstool-ng-d691923e8865d08dda1c77f536cbcd5fa0b51bfd.tar.gz crosstool-ng-d691923e8865d08dda1c77f536cbcd5fa0b51bfd.tar.bz2 crosstool-ng-d691923e8865d08dda1c77f536cbcd5fa0b51bfd.zip |
config: fix generated config files when GREP_OPTIONS set --color=always
grep is used when generating some .in files (in config.gen). If GREP_OPTIONS
contains --color=always, then the generated files will contains some escape
sequences setting the color, and mconf would choke on those escape sequences.
Always set and export an empty GREP_OPTIONS to avoid that.
Issue reported by Kevin Kirkup <kevin dot kirkup at gmail dot com> :
http://sourceware.org/ml/crossgcc/2009-12/msg00026.html
Diffstat (limited to 'ct-ng.in')
-rw-r--r-- | ct-ng.in | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -32,6 +32,10 @@ include $(CT_LIB_DIR)/paths.mk # bash. export SHELL=$(bash) +# GREP_OPTIONS=--color=always will break the generated .in files +# We do not need any GREP_OPTIONS anyway, so set it to empty. +export GREP_OPTIONS= + # Make the restart/stop steps availabe to scripts/crostool-NG.sh export CT_STOP:=$(STOP) export CT_RESTART:=$(RESTART) |