aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrien Madgwick <[email protected]>2015-01-07 11:53:40 +1100
committerOrien Madgwick <[email protected]>2015-01-07 11:53:40 +1100
commit82011d5a6d9e31d856897f69707ed88d29aed90a (patch)
treef102b1cef5e12381499465b157b775ee803dc69a
parentebada6c41691e52a5827594d6979c5b8c5fc1981 (diff)
downloadkerl-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-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index 377009e..d3d06a0 100755
--- a/kerl
+++ b/kerl
@@ -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