Index: tools/clang/scripts/update.sh |
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh |
index 302d7cea6d091fcbccf4660f2fbefd479dca008e..b5241ea69769f4dcc7770f6861038d30f3adbd59 100755 |
--- a/tools/clang/scripts/update.sh |
+++ b/tools/clang/scripts/update.sh |
@@ -698,7 +698,7 @@ if [[ -n "${with_android}" ]]; then |
popd |
fi |
-if [[ -n "$run_tests" -o -n ${LLVM_FORCE_HEAD_REVISION:-''} ]]; then |
+if [[ -n "$run_tests" || -n "${LLVM_FORCE_HEAD_REVISION:-''}" ]]; then |
# Run Chrome tool tests. |
ninja -C "${LLVM_BUILD_DIR}" cr-check-all |
fi |