aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrien Madgwick <[email protected]>2015-01-07 11:51:30 +1100
committerOrien Madgwick <[email protected]>2015-01-07 11:51:30 +1100
commitebada6c41691e52a5827594d6979c5b8c5fc1981 (patch)
treedcc3e58c2613e05fa91fdb2d1c00f4277db54307
parent15af1824f9c8650189b015a63199e0ebb040e0e2 (diff)
downloadkerl-ebada6c41691e52a5827594d6979c5b8c5fc1981.tar.gz
kerl-ebada6c41691e52a5827594d6979c5b8c5fc1981.tar.bz2
kerl-ebada6c41691e52a5827594d6979c5b8c5fc1981.zip
Search for `llvm` in a case insensitive way.
Later versions now use CAPs
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index d65439c..377009e 100755
--- a/kerl
+++ b/kerl
@@ -332,7 +332,7 @@ do_build()
{
case "$KERL_SYSTEM" in
Darwin)
- if [ `gcc --version | grep llvm | wc -l` = "1" ]; then
+ if [ `gcc --version | grep -i llvm | wc -l` = "1" ]; then
if lion_support $1; then
KERL_CONFIGURE_OPTIONS="CFLAGS=-O0 $KERL_CONFIGURE_OPTIONS"
else