#782 fix, wrong checksum calculation command for OSX

This commit is contained in:
Alexande B 2015-12-13 16:40:06 +03:00
parent de45bde5b9
commit 8d44c858e7
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ define PREPARE_PKG_SOURCE
endef
PKG_CHECKSUM = \
openssl sha256 '$(PKG_DIR)/$($(1)_FILE)' 2>/dev/null | $(SED) -n 's,^.*\([0-9a-f]\{64\}\)$$,\1,p'
openssl dgst -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))`" ]