build-package.sh: Check checksum more
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 2 Feb 2017 21:24:13 +0000 (22:24 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 2 Feb 2017 21:24:13 +0000 (22:24 +0100)
commitc9d4e74fa11c94958961e840c6aaf9af8d12d08d
tree7a0fa7365afb9984298b946984eb8dd62b96b72e
parentc6f5b04a53d3b5063ffc23f141645dc32156ebb2
build-package.sh: Check checksum more

When having an already downloaded source archive, use the checksum
to validated it. This avoids problems if the file has been modified
by mistake after downloading in a previous build and detects if
an incorrect checksum has been specified.
build-package.sh