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

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

Issue 1475173002: Fix downloading of LLVM Gold plugin for the official Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 437f858cb8c6bd3996ffbabf81f33d787e3b0035..e1158d282a1bfd0f63118399b4fcec718451038f 100755
--- a/tools/clang/scripts/update.sh
+++ b/tools/clang/scripts/update.sh
@@ -53,6 +53,8 @@ if [[ -z "$LLVM_DOWNLOAD_GOLD_PLUGIN" ]]; then
LLVM_DOWNLOAD_GOLD_PLUGIN=
fi
+OS="$(uname -s)"
+
if [[ "${OS}" == "Linux" ]] && \
[[ "$GYP_DEFINES" =~ .*buildtype=Official.* ]] && \
[[ "$GYP_DEFINES" =~ .*branding=Chrome.* ]] ; then
@@ -72,8 +74,6 @@ if [[ -n ${LLVM_FORCE_HEAD_REVISION:-''} ]]; then
PACKAGE_VERSION="${CLANG_REVISION}-0"
fi
-OS="$(uname -s)"
-
# Parse command line options.
if_needed=
force_local_build=
« 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