summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2015-03-28 08:53:34 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2015-03-28 08:53:34 +0100
commit525b208ac717d1b15f378cc47e1aa40d8d1e2828 (patch)
tree1aadfa524cc04dbf4524561796ba9a4636abfec1 /core
parentff2ce215e69b4dd196b9f387303c51e1be9064b9 (diff)
downloadembtoolkit-525b208ac717d1b15f378cc47e1aa40d8d1e2828.tar.gz
embtoolkit-525b208ac717d1b15f378cc47e1aa40d8d1e2828.tar.bz2
embtoolkit-525b208ac717d1b15f378cc47e1aa40d8d1e2828.tar.xz
Build system: fix tarball hash check (once again and again)
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core')
-rw-r--r--core/mk/pkg-macros/download.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/mk/pkg-macros/download.mk b/core/mk/pkg-macros/download.mk
index 905aadd..037ebb1 100644
--- a/core/mk/pkg-macros/download.mk
+++ b/core/mk/pkg-macros/download.mk
@@ -154,9 +154,9 @@ __embtk_sha256_cmd = sha256 -c $(1) $(2) >/dev/null 2>&1
__embtk_sha512_cmd = sha512 -c $(1) $(2) >/dev/null 2>&1
else
# WTF: perl is needed on mac os x and other BSD?
-__embtk_sha1_cmd = printf '$(1) $(2)' | shasum -a 1 -c - >/dev/null 2>&1
-__embtk_sha256_cmd = printf '$(1) $(2)' | shasum -a 256 -c - >/dev/null 2>&1
-__embtk_sha512_cmd = printf '$(1) $(2)' | shasum -a 512 -c - >/dev/null 2>&1
+__embtk_sha1_cmd = printf '$(1) $(2)' | shasum -a 1 -c - >/dev/null 2>&1
+__embtk_sha256_cmd = printf '$(1) $(2)' | shasum -a 256 -c - >/dev/null 2>&1
+__embtk_sha512_cmd = printf '$(1) $(2)' | shasum -a 512 -c - >/dev/null 2>&1
endif
else