Chromium Code Reviews| Index: tools/clang/scripts/update.sh |
| =================================================================== |
| --- tools/clang/scripts/update.sh (revision 182184) |
| +++ tools/clang/scripts/update.sh (working copy) |
| @@ -87,6 +87,9 @@ |
| # Are we on a Chrome buildbot running ASan? |
| function on_asan_mac_host { |
| + if [[ "${OS}" != "Darwin" ]]; then |
| + return 1 |
| + fi |
| HOST="$(uname -n)" |
| # Chrome Mac ASan Builder. |
| if [[ "${HOST}" == "vm633-m1.golo.chromium.org" ]]; then |
| @@ -97,7 +100,7 @@ |
| return 0 |
| fi |
| # mac_asan trybots. |
| - for num in $(seq 600 655) |
| + for num in $(jot - 600 655) |
|
Mark Mentovai
2013/02/13 13:37:55
You’re using bash. Why not use the built-in form?
Nico
2013/02/13 15:48:29
+1
|
| do |
| if [[ "${HOST}" == "vm${num}-m4.golo.chromium.org" ]]; then |
| return 0 |