build: fix macos -> macos* so matches macos10 and macos11
This commit is contained in:
parent
fb7944391d
commit
4473a832bc
|
@ -42,10 +42,15 @@ case "$ARCH" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
SHASUM="sha256sum"
|
|
||||||
if [ "$SYSTEM" = "macos" ]; then
|
case "$SYSTEM" in
|
||||||
|
macos*)
|
||||||
SHASUM="shasum -a 256"
|
SHASUM="shasum -a 256"
|
||||||
fi
|
;;
|
||||||
|
*)
|
||||||
|
SHASUM="sha256sum"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# ensure dir
|
# ensure dir
|
||||||
cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/.."
|
cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/.."
|
||||||
|
|
Loading…
Reference in New Issue