aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
authorGravatar Androbin <robin.richtsfeld@gmail.com>2017-06-27 13:47:43 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-06-27 15:06:22 +0200
commitcfb2ec0ad1ab4efcf3e332fb74e91a9cbdd10053 (patch)
treecfdd7affe0d2e6d70d0d157948148ff81f07193d /compile.sh
parentfa46172bc3b9bd2398a9d79a05fc5cd55f6059ad (diff)
Minor Bash improvements
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