fix: calculate SHA256 hash value in binary mode

Correctness fix. This change will not make a difference on Unix. See [https://www.virtualbox.org/ticket/9569].
This commit is contained in:
Sander Maijers 2016-04-05 17:05:48 +02:00
parent 95c1e8473a
commit 47e382ed40

View file

@ -72,7 +72,7 @@ release: builddeb-docker sdist
tar -C dist --strip=3 -xvf - ./usr/bin/dumb-init tar -C dist --strip=3 -xvf - ./usr/bin/dumb-init
mv dist/dumb-init dist/dumb-init_$(VERSION)_amd64 mv dist/dumb-init dist/dumb-init_$(VERSION)_amd64
cd dist && \ cd dist && \
sha256sum dumb-init_$(VERSION)_amd64.deb dumb-init_$(VERSION)_amd64 \ sha256sum --binary dumb-init_$(VERSION)_amd64.deb dumb-init_$(VERSION)_amd64 \
> sha256sums > sha256sums
.PHONY: sdist .PHONY: sdist