Sfoglia il codice sorgente

Remove extra spaces in checksum (#976)

Fixes #902.
pull/978/head
Nikita Grishko 7 anni fa
committed by Daniel Hahler
parent
commit
09bc868ea8
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      plugins/python-build/bin/python-build

+ 2
- 2
plugins/python-build/bin/python-build Vedi File

@ -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

Caricamento…
Annulla
Salva