aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/prepare-ctemplate-ios.sh
diff options
context:
space:
mode:
authorGravatar Matt Ronge <mronge@mronge.com>2014-03-14 16:28:36 -0500
committerGravatar Matt Ronge <mronge@mronge.com>2014-03-14 16:28:36 -0500
commitad5e306b3af920169ae1842a7fd2cfce8fcf5022 (patch)
tree0c0ab421bd536cbd312f72c839559c01f515acfe /scripts/prepare-ctemplate-ios.sh
parent3bda01fedffff8e705ae0f99fa9028a389255f9d (diff)
parent976108f9503a0e466e11e7bc3ee772d0b2c9ea38 (diff)
Merge branch 'master' of github.com:MailCore/mailcore2
Diffstat (limited to 'scripts/prepare-ctemplate-ios.sh')
-rwxr-xr-xscripts/prepare-ctemplate-ios.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/prepare-ctemplate-ios.sh b/scripts/prepare-ctemplate-ios.sh
index 6456d532..96eda4dd 100755
--- a/scripts/prepare-ctemplate-ios.sh
+++ b/scripts/prepare-ctemplate-ios.sh
@@ -2,12 +2,15 @@
url="https://github.com/dinhviethoa/ctemplate"
-if xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then
- sdkversion=7.0
- MARCHS="armv7 armv7s arm64"
+if xcodebuild -showsdks|grep iphoneos7.1 >/dev/null ; then
+ sdkversion=7.1
+ MARCHS="armv7 armv7s arm64"
+elif xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then
+ sdkversion=7.0
+ MARCHS="armv7 armv7s arm64"
elif xcodebuild -showsdks|grep iphoneos6.1 >/dev/null ; then
sdkversion=6.1
- MARCHS="armv7 armv7s"
+ MARCHS="armv7 armv7s"
else
echo SDK not found
exit 1