Просмотр исходного кода

Fix fetching of deps specified in the Makefile

Loïc Hoguin 11 лет назад
Родитель
Сommit
2502446aae
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      core/deps.mk
  2. 2 2
      erlang.mk

+ 2 - 2
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

+ 2 - 2
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