mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
parent
fd0b8fcfb3
commit
09bc868ea8
1 changed files with 2 additions and 2 deletions
|
@ -248,7 +248,7 @@ compute_sha2() {
|
|||
echo "${output##* }"
|
||||
elif type sha256sum &>/dev/null; then
|
||||
output="$(sha256sum -b)" || return 1
|
||||
echo "${output% *}"
|
||||
echo "${output%% *}"
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
|
@ -263,7 +263,7 @@ compute_md5() {
|
|||
echo "${output##* }"
|
||||
elif type md5sum &>/dev/null; then
|
||||
output="$(md5sum -b)" || return 1
|
||||
echo "${output% *}"
|
||||
echo "${output%% *}"
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue