Commit 7b4ee4cf by Sam Stephenson

Avoid errant "build failed" message on OS X < 10.7. Fixes #13.

parent 9eb714a2
......@@ -116,7 +116,7 @@ after_install_package() {
use_gcc42_on_lion() {
if [ "$(uname -s)" = "Darwin" ]; then
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7)" -eq 1 ]; then
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7 || true)" -eq 1 ]; then
export CC=/usr/bin/gcc-4.2
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment