Skip to content
Snippets Groups Projects
Commit c87ceef0 authored by Sam Stephenson's avatar Sam Stephenson
Browse files

Fix Lion conditional

parent fac8c31d
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ after_install_package() {
use_gcc42_on_lion() {
if [ "$(uname -s)" = "Darwin" ]; then
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7)" = 0 ]; then
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7)" -eq 1 ]; then
export CC=/usr/bin/gcc-4.2
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment