summaryrefslogtreecommitdiffstats
path: root/tools/clang
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 13:13:11 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-13 13:13:11 +0000
commitef6cf92269b06098a0a696fdb6cf91dd7e4680f1 (patch)
treeb92a73f615e481da9c99ab738b545dfaaf57fb3b /tools/clang
parentcebc82c48b9df8cd105aab46e6f31d8dbeb921f8 (diff)
downloadchromium_src-ef6cf92269b06098a0a696fdb6cf91dd7e4680f1.zip
chromium_src-ef6cf92269b06098a0a696fdb6cf91dd7e4680f1.tar.gz
chromium_src-ef6cf92269b06098a0a696fdb6cf91dd7e4680f1.tar.bz2
Replace seq invocation with 'jot -'. They don't have seq on Mac by default.
Make sure on_asan_mac_host() always returns 1 on non-Darwin systems. BUG=170629, 174873 TBR=thakis Review URL: https://codereview.chromium.org/12256005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/clang')
-rwxr-xr-xtools/clang/scripts/update.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh
index e5712ad..0463d29 100755
--- a/tools/clang/scripts/update.sh
+++ b/tools/clang/scripts/update.sh
@@ -87,6 +87,9 @@ done
# 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 @@ function on_asan_mac_host {
return 0
fi
# mac_asan trybots.
- for num in $(seq 600 655)
+ for num in $(jot - 600 655)
do
if [[ "${HOST}" == "vm${num}-m4.golo.chromium.org" ]]; then
return 0