Skip to content

Commit

Permalink
On FreeBSD as well, the sha256 binary is not called sha256sum
Browse files Browse the repository at this point in the history
--
Change-Id: Ia527ef1616546044e61a103749ff22191b24cb11
Reviewed-on: https://cr.bazel.build/8394
PiperOrigin-RevId: 144963679
MOS_MIGRATED_REVID=144963679
  • Loading branch information
aehlig authored and vladmos committed Jan 19, 2017
1 parent 8221b23 commit 1ad08ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")")
}
Expand Down

0 comments on commit 1ad08ba

Please sign in to comment.