aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
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 /core/deps.mk
parent195c96c3a7bcfbb3af2553ee0ec90cbbad8b140d (diff)
downloaderlang.mk-2502446aae8d5f549eca974f0cb92ba9a46912ec.tar.gz
erlang.mk-2502446aae8d5f549eca974f0cb92ba9a46912ec.tar.bz2
erlang.mk-2502446aae8d5f549eca974f0cb92ba9a46912ec.zip
Fix fetching of deps specified in the Makefile
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk4
1 files changed, 2 insertions, 2 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