aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-23 18:27:47 +0200
committerLoïc Hoguin <[email protected]>2015-09-23 18:27:47 +0200
commit5cf5df307974a47597b730d4bbcb4195a2dd1c81 (patch)
treeb508ab4761d8900e606be41ac9e9e7c5d7ccb834
parentdd4b1fd93e45d6c645aae68dfdd6658697a13e04 (diff)
downloaderlang.mk-5cf5df307974a47597b730d4bbcb4195a2dd1c81.tar.gz
erlang.mk-5cf5df307974a47597b730d4bbcb4195a2dd1c81.tar.bz2
erlang.mk-5cf5df307974a47597b730d4bbcb4195a2dd1c81.zip
Fix bug introduced by previous commit
-rw-r--r--core/deps.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 8134cb7..b06b622 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -533,8 +533,7 @@ endef
dep_name = $(if $(dep_$(1)),$(1),$(pkg_$(1)_name))
dep_repo = $(patsubst git://github.com/%,https://github.com/%, \
$(if $(dep_$(1)),$(word 2,$(dep_$(1))),$(pkg_$(1)_repo)))
-dep_commit = $(if $(dep_$(1)_commit),$(dep_$(1)_commit),\
- $(if $(dep_$(1)),$(word 3,$(dep_$(1))),$(pkg_$(1)_commit)))
+dep_commit = $(if $(dep_$(1)_commit),$(dep_$(1)_commit),$(if $(dep_$(1)),$(word 3,$(dep_$(1))),$(pkg_$(1)_commit)))
define dep_target
$(DEPS_DIR)/$(1):