Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: tools/clang/scripts/update.sh

Issue 1148483002: Clang update.sh: fix logical or-expression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698