Index: scripts/common.sh |
=================================================================== |
--- scripts/common.sh (revision 43828) |
+++ scripts/common.sh (working copy) |
@@ -202,12 +202,13 @@ |
build_valgrind "linux_x86" "--enable-only32bit" |
;; |
"Darwin i386") |
- if [ `uname -r` != "9.7.0" ]; then |
- echo "You have Darwin kernel different than 9.7.0" |
- echo "We've tested binaries built on 9.7.0 to work with 9.6.1, 9.7.0 and 9.8.0" |
+ if uname -r | grep 9\.[0-9]\.[0-9] >/dev/null |
+ then |
+ build_valgrind "mac" |
+ else |
+ echo "You have Darwin kernel different from 9.X.X" >&2 |
+ echo "Please, don't put the resulting binaries into Chromium SVN" >&2 |
build_valgrind "local" |
- else |
- build_valgrind "mac" |
fi |
;; |
*) |