From 2502446aae8d5f549eca974f0cb92ba9a46912ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 1 Aug 2014 11:44:28 +0200 Subject: Fix fetching of deps specified in the Makefile --- core/deps.mk | 4 ++-- erlang.mk | 4 ++-- 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 -- cgit v1.2.3