summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngy döt Net <ingy@ingy.net>2020-05-25 11:47:13 -0700
committerIngy döt Net <ingy@ingy.net>2020-05-25 11:47:13 -0700
commit6078085624593350f0cc126b48bec7e64d0f0715 (patch)
tree598f783a8e5a86327c10c5313a70da6bc87b39a9
parent26ae55e0df5797c5e1980c79fc21545eddc954a7 (diff)
downloadlibyaml-git-6078085624593350f0cc126b48bec7e64d0f0715.tar.gz
Make sure that bin/pin didn't fail
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ecbaf61..be566db 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,10 @@ SHELL := bash
PINNED_COMMITS := $(shell ./bin/pin)
+ifeq ($(PINNED_COMMITS),)
+ $(error ./bin/pin failed)
+endif
+
$(eval MASTER_COMMIT = $(word 1, $(PINNED_COMMITS)))
$(eval CODE_COMMIT = $(word 2, $(PINNED_COMMITS)))
$(eval DATA_COMMIT = $(word 3, $(PINNED_COMMITS)))