Skip to content

Commit

Permalink
Added quotes to protect bash evaluation to determine if gcc-4.2 exist…
Browse files Browse the repository at this point in the history
…s under darwin.
  • Loading branch information
scalone-cw committed May 9, 2024
1 parent 2dee4ea commit 7be2d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kerl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7be2d38

Please sign in to comment.