We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents affa118 + f983718 commit 80658a8Copy full SHA for 80658a8
mk/external.mk
@@ -68,7 +68,7 @@ define verify
68
| sort \
69
| $(SHA1SUM) \
70
| cut -f 1 -d ' ' > $(SHA1_FILE2) && cmp $(SHA1_FILE1) $(SHA1_FILE2))), \
71
- ($(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 -)) \
72
))
73
$(eval _ := $(shell $(VERIFIER) 2>&1))
74
$(eval _ := \
0 commit comments