aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index a8819be330..ce59be4a6c 100755
--- a/compile.sh
+++ b/compile.sh
@@ -203,7 +203,7 @@ if [ $DO_TESTS ]; then
ndk_target="$(get_bind_target //external:android_ndk_for_testing)"
sdk_target="$(get_bind_target //external:android_sdk_for_testing)"
- if [ "$ndk_target" = "//:dummy" -o "$sdk_target" = "//:dummy" ]; then
+ if [ "$ndk_target" = "//:dummy" ] || [ "$sdk_target" = "//:dummy" ]; then
display "$WARNING Android SDK or NDK are not set in the WORKSPACE file. Android tests will not be run."
fi