Created
December 30, 2016 20:25
-
-
Save paulgibbs/9e3207fd912f84935d9bc888ae08beaa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WHSHASCRIPT="sha1sum" && (type sha1sum >/dev/null 2>&1 || WHSHASCRIPT="shasum") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only problem I can see with using that program is how can you guarantee the binary is in the user's path?