瀏覽代碼

Remove extra spaces in checksum (#976)

Fixes #902.
pull/978/head
Nikita Grishko 8 年之前
committed by Daniel Hahler
父節點
當前提交
09bc868ea8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      plugins/python-build/bin/python-build

+ 2
- 2
plugins/python-build/bin/python-build 查看文件

@ -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…
取消
儲存