From 9b4c03d0f80a89d1a8ac79e204d3d417a04d79d4 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Thu, 15 Jul 2021 11:34:55 +0200 Subject: quit build process if tor cannot be build --- scripts/build_deps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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 .. -- cgit v1.2.3