aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/ios
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-03-03 14:11:46 +0300
committerlevlam <levlam@telegram.org>2023-03-03 14:11:46 +0300
commit82cdc98ecf993e641c95b69acc3b5de55ea7ecab (patch)
tree3bda3d5ca92f99e9e673c038596bc953ef629129 /example/ios
parent15944f2a00ef2ae00d2b33a048047ecaf37f1487 (diff)
Fail iOS example building if can't apply OpenSSL patch.
Diffstat (limited to 'example/ios')
-rwxr-xr-xexample/ios/build-openssl.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/example/ios/build-openssl.sh b/example/ios/build-openssl.sh
index eac937caa..e31f56569 100755
--- a/example/ios/build-openssl.sh
+++ b/example/ios/build-openssl.sh
@@ -3,8 +3,9 @@ cd $(dirname $0)
git clone https://github.com/beeware/Python-Apple-support
cd Python-Apple-support
-git checkout 60b990128d5f1f04c336ff66594574515ab56604
-git apply ../Python-Apple-support.patch
+git checkout 60b990128d5f1f04c336ff66594574515ab56604 || exit 1
+git reset --hard || exit 1
+git apply ../Python-Apple-support.patch || exit 1
cd ..
#TODO: change openssl version