From 9b0152a3ffd007003d9bd3144efbdf53b1d2b51f Mon Sep 17 00:00:00 2001 From: Randy Secrist Date: Sun, 16 Oct 2011 15:45:51 -0600 Subject: Added quotes to protect bash evaluation to determine if gcc-4.2 exists under darwin. --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kerl') 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" -- cgit v1.2.3