diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-05 14:16:36 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-05 14:16:36 +0000 |
commit | c4b3e75a7b5fd2f31e5573914e8344fc1b0bf17a (patch) | |
tree | e518dc68d230f80c518788cde1752789b3f3e2e8 | |
parent | 5e4112b33aeecbb773ed4c8e33994dec14becb84 (diff) |
Make arm64 test script comaptable with old versions of gsutil.
NOTRY=true
R=borenet@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/183883020
git-svn-id: http://skia.googlecode.com/svn/trunk@13668 2bbb7eff-a529-9590-31e7-b0007b416f81
-rwxr-xr-x | platform_tools/barelinux/bin/arm64_download | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform_tools/barelinux/bin/arm64_download b/platform_tools/barelinux/bin/arm64_download index 598ee89452..5bb44ec16d 100755 --- a/platform_tools/barelinux/bin/arm64_download +++ b/platform_tools/barelinux/bin/arm64_download @@ -45,7 +45,7 @@ gsutil_check_get() { local gurl="$1" local file="$2" if ! [ -f "$file" ] || \ - [ "$(gsutil stat "$gurl" | sed -n 's/\W*Hash (md5):\W*//p')" \ + [ "$(gsutil ls -L "$gurl" | sed -n 's/\W*Hash (md5):\W*//p')" \ != "$(md5sum < "$file" | sed 's/\W*-//')" ] ; then try gsutil cp "$gurl" "$file" || return fi |