use sha256sum for shasum
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/hint/bash
|
||||
|
||||
function shasum {
|
||||
command shasum <<<"$1" | awk '{ print $1 }'
|
||||
command sha256sum <<<"$1" | awk '{ print $1 }'
|
||||
}
|
||||
|
||||
# once <command>
|
||||
|
||||
Reference in New Issue
Block a user