summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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)))