diff --git a/Makefile b/Makefile index fb3c2c8ff6..cd3a52311f 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,8 @@ bins: stdlib stdlib: # cargo run ${CARGO_ARGS} -p diem-framework cargo run ${CARGO_ARGS} -p diem-framework -- --create-upgrade-payload - sha256sum language/diem-framework/staged/stdlib.mv +# linux uses sha265sum, but not available by default on OS X + bash -c "sha256sum language/diem-framework/staged/stdlib.mv || shasum -a 256 language/diem-framework/staged/stdlib.mv" install: mv-bin bin-path @@ -301,8 +302,8 @@ genesis: stdlib --layout-path ${DATA_PATH}/set_layout.toml \ --val-ip-address ${IP} - - sha256sum ${DATA_PATH}/genesis.blob +# linux uses sha265sum, but not available by default on OS X + bash -c "sha256sum ${DATA_PATH}/genesis.blob || shasum -a 256 ${DATA_PATH}/genesis.blob" #### NODE MANAGEMENT #### start: