Index: tools/clang/scripts/update.sh |
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh |
index 783875aa1f2bc37f9630d270826142f3fcb1c7de..b32b10856d779ded8c7bbe520615fccc39f7001d 100755 |
--- a/tools/clang/scripts/update.sh |
+++ b/tools/clang/scripts/update.sh |
@@ -90,19 +90,19 @@ function on_asan_mac_host { |
if [[ "${OS}" != "Darwin" ]]; then |
return 1 |
fi |
- HOST="$(uname -n)" |
+ HOST="$(hostname -s)" |
# Chrome Mac ASan Builder. |
- if [[ "${HOST}" == "vm633-m1.golo.chromium.org" ]]; then |
+ if [[ "${HOST}" == "vm633-m1" ]]; then |
return 0 |
fi |
# Chrome Mac ASan LKGR. |
- if [[ "${HOST}" == "mini11-a1.chrome.corp.google.com" ]]; then |
+ if [[ "${HOST}" == "mini11-a1" ]]; then |
return 0 |
fi |
# mac_asan trybots. |
for num in $(jot - 600 655) |
do |
- if [[ "${HOST}" == "vm${num}-m4.golo.chromium.org" ]]; then |
+ if [[ "${HOST}" == "vm${num}-m4" ]]; then |
return 0 |
fi |
done |