diff options
author | Orien Madgwick <[email protected]> | 2015-01-07 11:53:40 +1100 |
---|---|---|
committer | Orien Madgwick <[email protected]> | 2015-01-07 11:53:40 +1100 |
commit | 82011d5a6d9e31d856897f69707ed88d29aed90a (patch) | |
tree | f102b1cef5e12381499465b157b775ee803dc69a | |
parent | ebada6c41691e52a5827594d6979c5b8c5fc1981 (diff) | |
download | kerl-82011d5a6d9e31d856897f69707ed88d29aed90a.tar.gz kerl-82011d5a6d9e31d856897f69707ed88d29aed90a.tar.bz2 kerl-82011d5a6d9e31d856897f69707ed88d29aed90a.zip |
Don't print to stderr
`gcc --version` prints defaust configuration to STDERR.
It's confusing because it conflicts with the configuration
set in KERL_CONFIGURE_OPTIONS. Let's not show it.
-rwxr-xr-x | kerl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -332,7 +332,7 @@ do_build() { case "$KERL_SYSTEM" in Darwin) - if [ `gcc --version | grep -i llvm | wc -l` = "1" ]; then + if [ `gcc --version 2>/dev/null | grep -i llvm | wc -l` = "1" ]; then if lion_support $1; then KERL_CONFIGURE_OPTIONS="CFLAGS=-O0 $KERL_CONFIGURE_OPTIONS" else |