aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.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 /erlang.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 'erlang.mk')
-rw-r--r--erlang.mk4
1 files changed, 2 insertions, 2 deletions
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