From 1ad08bac62d003beda81b165a4e8aa8828621e47 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 19 Jan 2017 16:15:53 +0000 Subject: [PATCH] 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 --- scripts/ci/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 3a4fc66ca2e809..66ba31269d319d 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")") }