aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorRandy Secrist <[email protected]>2011-10-16 15:45:51 -0600
committerRandy Secrist <[email protected]>2011-10-16 15:45:51 -0600
commit9b0152a3ffd007003d9bd3144efbdf53b1d2b51f (patch)
tree8b8c2b112444c646672bb53399257cb4c832d8b7 /kerl
parenta4004368dfa3567bad9a56a82d7da0b95edfb8ff (diff)
downloadkerl-9b0152a3ffd007003d9bd3144efbdf53b1d2b51f.tar.gz
kerl-9b0152a3ffd007003d9bd3144efbdf53b1d2b51f.tar.bz2
kerl-9b0152a3ffd007003d9bd3144efbdf53b1d2b51f.zip
Added quotes to protect bash evaluation to determine if gcc-4.2 exists under darwin.
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
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"