Index: tools/clang/scripts/update.sh |
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh |
index 302d7cea6d091fcbccf4660f2fbefd479dca008e..adcd64c1cc4a76c0c151e966914bc41f5d831a91 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 |
Nico
2015/05/18 23:10:54
Doesn't || work inside of [[ ]] too? Do you need t
hans
2015/05/18 23:26:23
It works. Guess I should've gone for that from the
|
# Run Chrome tool tests. |
ninja -C "${LLVM_BUILD_DIR}" cr-check-all |
fi |