Skip to content

Commit

Permalink
Change sha256sum to shasum -a 256
Browse files Browse the repository at this point in the history
Not all systems have sha256sum (Mac OS, for instance). Use the more common `shasum -a 256`.
  • Loading branch information
artlogic authored Nov 26, 2016
1 parent 9deca3b commit 0e4982f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0e4982f

Please sign in to comment.