summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-23 08:32:58 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-23 08:32:58 (GMT)
commitfc0ed34fb914c42c43d3f8eb8c54f9e25b53304e (patch)
treea667861df312d3fbd50218878ad2dfe793183efd /Makefile
parent5b74c8e9de86cb213d7bc6f6c154705506857e77 (diff)
downloadmxe-fc0ed34fb914c42c43d3f8eb8c54f9e25b53304e.zip
mxe-fc0ed34fb914c42c43d3f8eb8c54f9e25b53304e.tar.gz
mxe-fc0ed34fb914c42c43d3f8eb8c54f9e25b53304e.tar.bz2
all packages: really use sha256 checksums
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b6cb0ac..b0acd09 100644
--- a/Makefile
+++ b/Makefile
@@ -159,7 +159,7 @@ define PREPARE_PKG_SOURCE
endef
PKG_CHECKSUM = \
- openssl sha256 '$(PKG_DIR)/$($(1)_FILE)' 2>/dev/null | $(SED) -n 's,^.*\([0-9a-f]\{40\}\)$$,\1,p'
+ openssl sha256 '$(PKG_DIR)/$($(1)_FILE)' 2>/dev/null | $(SED) -n 's,^.*\([0-9a-f]\{64\}\)$$,\1,p'
CHECK_PKG_ARCHIVE = \
[ '$($(1)_CHECKSUM)' == "`$$(call PKG_CHECKSUM,$(1))`" ]