Merge pull request #117 from artlogic/patch-1
authorAdrian Chadd <adrian.chadd@gmail.com>
Mon, 28 Nov 2016 06:25:58 +0000 (22:25 -0800)
committerGitHub <noreply@github.com>
Mon, 28 Nov 2016 06:25:58 +0000 (22:25 -0800)
Change sha256sum to shasum -a 256

Makefile

index aca678fb23da13647fb6bc744d9429647c7f6487..a383ae67119afa8a6028557f7f8cb197aaff11a2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,7 @@ define Build
 $(DL_DIR)/$($(1)_TAR):
        mkdir -p $(DL_DIR)
        wget -N -P $(DL_DIR) $($(1)_URL)
-       printf "%s  %s\n" $($(1)_SUM) $$@ | sha256sum -c
+       printf "%s  %s\n" $($(1)_SUM) $$@ | shasum -a 256 -c
 
 $(DL_DIR)/$($(1)_DIR)/.prepared: $(DL_DIR)/$($(1)_TAR)
        tar -C $(DL_DIR) -x$(if $(findstring bz2,$($(1)_TAR)),j,z)f $(DL_DIR)/$($(1)_TAR)