mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 17:53:41 +00:00
--quiet
options isn't sensible for sha256sum(1) of GNU coreutils (fixes #840)
The option is available only if verifying digest, not available when computing digest. > --quiet > don't print OK for each successfully verified file
This commit is contained in:
parent
6bb14c60da
commit
9a99d427ef
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ compute_sha2() {
|
|||
output="$("$openssl" dgst -sha256 2>/dev/null)" || return 1
|
||||
echo "${output##* }"
|
||||
elif type sha256sum &>/dev/null; then
|
||||
output="$(sha256sum --quiet)" || return 1
|
||||
output="$(sha256sum -b)" || return 1
|
||||
echo "${output% *}"
|
||||
else
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue