Auto merge of #1888 - mvrilo:busybox-sha256sum, r=daira

Fix sha256sum on busybox

Busybox's version of `sha256sum` doesn't support `--check` parameter

```
/usr/bin/sha256sum: unrecognized option: check
BusyBox v1.24.2 (2016-08-12 14:38:34 GMT) multi-call binary.

Usage: sha256sum [-c[sw]] [FILE]...

Print or check SHA256 checksums

	-c	Check sums against list in FILEs
	-s	Don't output anything, status code shows success
	-w	Warn about improperly formatted checksum lines
The command '/bin/sh -c ./zcutil/fetch-params.sh' returned a non-zero code: 1```
This commit is contained in:
zkbot 2017-02-20 14:08:51 +00:00
commit 73779d8c6d
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function fetch_params {
--retry-connrefused --waitretry=3 --timeout=30 \
"$url"
"$SHA256CMD" $SHA256ARGS --check <<EOF
"$SHA256CMD" $SHA256ARGS -c <<EOF
$expectedhash $dlname
EOF