Ensure sha256sum is available before calling
What does this Merge Request do and why?
On macOS, the sha256sum
command is not available by default (and there isn't a suitable alternative) until the coreutils
brew formula is installed. In this MR we check if sha256sum
exists before attempting to use. Once coreutils
is installed (via the 'platform setup' step) sha256sum
will exist and can be used.
Merge Request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise Issue to follow-up. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.