From 7be2d389e18990a192ca74618128d311177d520c Mon Sep 17 00:00:00 2001 From: Thiago Scalone <155578946+scalone-cw@users.noreply.github.com> Date: Sun, 16 Oct 2011 15:45:51 -0600 Subject: [PATCH] Added quotes to protect bash evaluation to determine if gcc-4.2 exists under darwin. --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerl b/kerl index 6d27100..de357b0 100755 --- a/kerl +++ b/kerl @@ -294,7 +294,7 @@ do_build() if lion_support $1; then true else - if [ -x `which gcc-4.2` ]; then + if [ -x "`which gcc-4.2`" ]; then KERL_CONFIGURE_OPTIONS="CC=gcc-4.2 $KERL_CONFIGURE_OPTIONS" else KERL_CONFIGURE_OPTIONS="CC=llvm-gcc-4.2 CFLAGS=-O0 $KERL_CONFIGURE_OPTIONS"