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= |