1 #!/bin/bash 2 # Copyright (c) 2012 Google Inc. All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 6 set -e 7 8 if ! expected=$(xcodebuild -version -sdk macosx10.6 Path 2>/dev/null) ; then 9 expected=$(xcodebuild -version -sdk macosx10.7 Path) 10 fi 11 12 test $SDKROOT = $expected 13