summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-04-05 16:26:45 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-04-05 16:26:45 (GMT)
commit7a13d4ebfa4f93e3b3819f0fc1a9ecd5acf85f31 (patch)
tree775b3d2cd36888431c1ced057e826e20d4ba38c2 /Makefile
parentb2757619ca9d15b0a785159965d818b7b37fc4cb (diff)
downloadmxe-7a13d4ebfa4f93e3b3819f0fc1a9ecd5acf85f31.zip
mxe-7a13d4ebfa4f93e3b3819f0fc1a9ecd5acf85f31.tar.gz
mxe-7a13d4ebfa4f93e3b3819f0fc1a9ecd5acf85f31.tar.bz2
use "openssl sha1 ..." instead of "sha1sum -b ..."
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a3ee6ee..6c6ca6e 100644
--- a/Makefile
+++ b/Makefile
@@ -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), \