summaryrefslogtreecommitdiff
path: root/scripts/build_deps.sh
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-07-15 11:34:55 +0200
committercyBerta <cyberta@riseup.net>2021-07-21 22:02:28 +0200
commit9b4c03d0f80a89d1a8ac79e204d3d417a04d79d4 (patch)
tree95d299e7eaa796e80955a5688eb4d1fcf11e204a /scripts/build_deps.sh
parent0822d3e0f62d9dcc9c1ce15bea941860affbf94f (diff)
quit build process if tor cannot be build
Diffstat (limited to 'scripts/build_deps.sh')
-rwxr-xr-xscripts/build_deps.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh
index fde8f878..7c0bfa74 100755
--- a/scripts/build_deps.sh
+++ b/scripts/build_deps.sh
@@ -70,10 +70,10 @@ else
if [[ $NDK_VERSION == $EXPECTED_NDK_VERSION ]]
then
- ./tor-droid-make.sh fetch -c
- ./tor-droid-make.sh build -b release
+ ./tor-droid-make.sh fetch -c || quit "failed to checkout tor dependencies"
+ ./tor-droid-make.sh build -b release || quit "failed to build tor release binaries"
else
- echo "expected NDK VERSION: $EXPECTED_NDK_VERSION. But found: $NDK_VERSION"
+ quit "expected NDK VERSION: $EXPECTED_NDK_VERSION. But found: $NDK_VERSION"
fi
cd ..