forked from rook/rook
Merge pull request #7125 from leseb/shasum
build: try sha256sum if shasum is not present
This commit is contained in:
@@ -16,7 +16,13 @@
|
||||
.SUFFIXES:
|
||||
|
||||
SHELL := /bin/bash
|
||||
ifneq (, $(shell command -v shasum))
|
||||
SHA256CMD := shasum -a 256
|
||||
else ifneq (, $(shell command -v sha256sum))
|
||||
SHA256CMD := sha256sum
|
||||
else
|
||||
$(error "please install 'shasum' or 'sha256sum'")
|
||||
endif
|
||||
|
||||
ifeq ($(origin PLATFORM), undefined)
|
||||
ifeq ($(origin GOOS), undefined)
|
||||
|
||||
Reference in New Issue
Block a user