aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-08-01 11:44:28 +0200
committerLoïc Hoguin <[email protected]>2014-08-01 11:44:28 +0200
commit2502446aae8d5f549eca974f0cb92ba9a46912ec (patch)
tree7886e74f92324c7b771c056480b2f159133da252
parent195c96c3a7bcfbb3af2553ee0ec90cbbad8b140d (diff)
downloaderlang.mk-2502446aae8d5f549eca974f0cb92ba9a46912ec.tar.gz
erlang.mk-2502446aae8d5f549eca974f0cb92ba9a46912ec.tar.bz2
erlang.mk-2502446aae8d5f549eca974f0cb92ba9a46912ec.zip
Fix fetching of deps specified in the Makefile
-rw-r--r--core/deps.mk4
-rw-r--r--erlang.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 9c2a49f..c969ad5 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -63,8 +63,8 @@ ifeq (,$(dep_$(1)))
$(call dep_fetch,$(1))
else
VS=$(word 1,$(dep_$(1))); \
- REPO=$(word 1,$(dep_$(2))); \
- COMMIT=$(word 1,$(dep_$(3))); \
+ REPO=$(word 2,$(dep_$(1))); \
+ COMMIT=$(word 3,$(dep_$(1))); \
$(call dep_fetch,$(1))
endif
endef
diff --git a/erlang.mk b/erlang.mk
index 175fd19..b04703b 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -131,8 +131,8 @@ ifeq (,$(dep_$(1)))
$(call dep_fetch,$(1))
else
VS=$(word 1,$(dep_$(1))); \
- REPO=$(word 1,$(dep_$(2))); \
- COMMIT=$(word 1,$(dep_$(3))); \
+ REPO=$(word 2,$(dep_$(1))); \
+ COMMIT=$(word 3,$(dep_$(1))); \
$(call dep_fetch,$(1))
endif
endef