diff options
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -332,7 +332,7 @@ do_build() { case "$KERL_SYSTEM" in Darwin) - if [ `gcc --version | grep 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 @@ -456,7 +456,7 @@ kerl_deactivate() fi if [ -n "\$_KERL_ACTIVE_DIR" ]; then unset _KERL_ACTIVE_DIR - fi + fi if [ -n "\$_KERL_SAVED_PS1" ]; then PS1="\$_KERL_SAVED_PS1" export PS1 |