diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-04-05 16:26:45 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-04-05 16:26:45 (GMT) |
commit | 7a13d4ebfa4f93e3b3819f0fc1a9ecd5acf85f31 (patch) | |
tree | 775b3d2cd36888431c1ced057e826e20d4ba38c2 /Makefile | |
parent | b2757619ca9d15b0a785159965d818b7b37fc4cb (diff) | |
download | mxe-7a13d4ebfa4f93e3b3819f0fc1a9ecd5acf85f31.zip mxe-7a13d4ebfa4f93e3b3819f0fc1a9ecd5acf85f31.tar.gz mxe-7a13d4ebfa4f93e3b3819f0fc1a9ecd5acf85f31.tar.bz2 |
use "openssl sha1 ..." instead of "sha1sum -b ..."
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -52,10 +52,10 @@ UNPACK_PKG_ARCHIVE = \ $(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE)) PKG_CHECKSUM = \ - sha1sum -b '$(PKG_DIR)/$($(1)_FILE)' | $(SED) -n 's,^\([0-9a-f]\{40\}\).*,\1,p' + openssl sha1 '$(PKG_DIR)/$($(1)_FILE)' | $(SED) -n 's,^.*\([0-9a-f]\{40\}\)$$,\1,p' CHECK_PKG_ARCHIVE = \ - [ '$($(1)_CHECKSUM)' == "`$(call PKG_CHECKSUM,$(1))`" ] + [ '$($(1)_CHECKSUM)' == "`$$(call PKG_CHECKSUM,$(1))`" ] DOWNLOAD_PKG_ARCHIVE = \ $(if $($(1)_URL_2), \ |