diff options
author | 2017-01-19 16:15:53 +0000 | |
---|---|---|
committer | 2017-01-19 18:02:27 +0000 | |
commit | 1ad08bac62d003beda81b165a4e8aa8828621e47 (patch) | |
tree | d67c916b651ab2738b52b7625547b23e43adc699 /scripts | |
parent | 8221b2346893e4a3424dfa36a009ba9bbe6651d7 (diff) |
On FreeBSD as well, the sha256 binary is not called sha256sum
--
Change-Id: Ia527ef1616546044e61a103749ff22191b24cb11
Reviewed-on: https://cr.bazel.build/8394
PiperOrigin-RevId: 144963679
MOS_MIGRATED_REVID=144963679
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 3a4fc66ca2..66ba31269d 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -42,7 +42,7 @@ source $(dirname ${SCRIPT_DIR})/release/common.sh : ${BOOTSTRAP_BAZEL:=bazel} PLATFORM="$(uname -s | tr 'A-Z' 'a-z')" -if [[ ${PLATFORM} == "darwin" ]]; then +if [[ ${PLATFORM} == "darwin" ]] || [[ ${PLATFORM} == "freebsd" ]] ; then function checksum() { (cd "$(dirname "$1")" && shasum -a 256 "$(basename "$1")") } |