aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-08-27 13:57:17 +0300
committerLoïc Hoguin <[email protected]>2014-08-27 13:57:17 +0300
commit31621cba0265ed8e5cf9f48c698eaae3d8292b4f (patch)
treeec57a1ccdf63138037fa2ff9eda8338200a49464 /core
parent39670a51834e74d5eb8b91c5e9cc0e28810e5831 (diff)
parent496080e4e8d2431e7c3984c693beeda32ae44af9 (diff)
downloaderlang.mk-31621cba0265ed8e5cf9f48c698eaae3d8292b4f.tar.gz
erlang.mk-31621cba0265ed8e5cf9f48c698eaae3d8292b4f.tar.bz2
erlang.mk-31621cba0265ed8e5cf9f48c698eaae3d8292b4f.zip
Merge branch 'master' of git://github.com/a12n/erlang.mk
Diffstat (limited to 'core')
-rw-r--r--core/deps.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk
index cfb432d..c36083c 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -46,6 +46,9 @@ define dep_fetch
if [ "$$$$VS" = "git" ]; then \
git clone -n -- $$$$REPO $(DEPS_DIR)/$(1); \
cd $(DEPS_DIR)/$(1) && git checkout -q $$$$COMMIT; \
+ elif [ "$$$$VS" = "hg" ]; then \
+ hg clone -U $$$$REPO $(DEPS_DIR)/$(1); \
+ cd $(DEPS_DIR)/$(1) && hg update -q $$$$COMMIT; \
else \
echo "Unknown or invalid dependency: $(1). Please consult the erlang.mk README for instructions." >&2; \
exit 78; \