Skip to content

Commit

Permalink
Merge pull request #549 from otteryc/mac_gsha1
Browse files Browse the repository at this point in the history
Ensure Compatibility with BSD sha1sum implementation
  • Loading branch information
jserv authored Jan 29, 2025
2 parents affa118 + f983718 commit 80658a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/external.mk
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ define verify
| sort \
| $(SHA1SUM) \
| cut -f 1 -d ' ' > $(SHA1_FILE2) && cmp $(SHA1_FILE1) $(SHA1_FILE2))), \
($(eval VERIFIER := echo "$(strip $(1)) $(strip $(2))" | $(SHA1SUM) -c)) \
($(eval VERIFIER := (ls $(2) >/dev/null 2>&1 || echo FAILED) && echo "$(strip $(1)) $(strip $(2))" | $(SHA1SUM) -c -)) \
))
$(eval _ := $(shell $(VERIFIER) 2>&1))
$(eval _ := \
Expand Down

0 comments on commit 80658a8

Please sign in to comment.