diff options
author | Florian Franzmann | 2022-05-27 12:43:35 +0200 |
---|---|---|
committer | Florian Franzmann | 2022-05-29 00:03:24 +0200 |
commit | ac24c70076ef805a556bddbc23f2e74644ebceeb (patch) | |
tree | 3f8a2cc261ee3b35962f709b17cb9eba7684fa34 /gnu | |
parent | e2cb171e91c08e363cd12d7184bbd5ef67a62897 (diff) |
gnu/gcc: fix message color
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/gcc/HISTORY | 3 | ||||
-rwxr-xr-x | gnu/gcc/PREPARE | 5 | ||||
-rwxr-xr-x | gnu/gcc/UP_TRIGGERS | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY index cd2119848e..35e494d573 100644 --- a/gnu/gcc/HISTORY +++ b/gnu/gcc/HISTORY @@ -1,3 +1,6 @@ +2022-05-27 Florian Franzmann <bwlf@bandrate.org> + * PREPARE, UP_TRIGGERS: fix message colors + 2022-05-06 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 12.1.0 diff --git a/gnu/gcc/PREPARE b/gnu/gcc/PREPARE index a9f7a11511..b788adae7d 100755 --- a/gnu/gcc/PREPARE +++ b/gnu/gcc/PREPARE @@ -1,5 +1,6 @@ -message "Note: C and C++ compilers are always built" -. $GRIMOIRE/config_query_multi.function +. $GRIMOIRE/config_query_multi.function && + +message "${MESSAGE_COLOR}Note: C and C++ compilers are always built${DEFAULT_COLOR}" && list_remove GCC_COMPILER c && list_remove GCC_COMPILER c++ && config_query_multi GCC_COMPILER "Select the additional compilers you want" \ diff --git a/gnu/gcc/UP_TRIGGERS b/gnu/gcc/UP_TRIGGERS index dd4122475b..08675eaf9f 100755 --- a/gnu/gcc/UP_TRIGGERS +++ b/gnu/gcc/UP_TRIGGERS @@ -17,8 +17,8 @@ if [ "$VERSION" != "$OLD_SPELL_VERSION" ]; then && [[ ${OLD_SPELL_VERSION%%.*} != ${VERSION%%.*} ]]; then # gcc-5.x,y seems ok if [[ ${OLD_SPELL_VERSION%%.*} < "5" ]];then - message "This is an ABI incompatible update of g++..." - message "Determining which spells need to be recast, this may take a while." + message "${MESSAGE_COLOR}This is an ABI-incompatible update of g++..." + message "Determining which spells need to be recast, this may take a while.${DEFAULT_COLOR}" for other_spell in $(gaze installed | cut -d: -f1); do [[ $SPELL != $other_spell ]] || continue |