From: James Kruth Date: Sat, 26 Nov 2016 18:19:29 +0000 (-0500) Subject: Change sha256sum to shasum -a 256 X-Git-Url: https://git.librecmc.org/?p=librecmc%2Fopen-ath9k-htc-firmware.git;a=commitdiff_plain;h=0e4982f31dd37f35decdfeddedcdbf3aa33c5156 Change sha256sum to shasum -a 256 Not all systems have sha256sum (Mac OS, for instance). Use the more common `shasum -a 256`. --- diff --git a/Makefile b/Makefile index aca678f..a383ae6 100644 --- 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)