aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorAndreas Krüger <[email protected]>2018-03-13 16:54:48 +0100
committerLoïc Hoguin <[email protected]>2018-03-14 16:32:30 +0100
commitf361821960c95c8cf30a4468243260ef0b4e1c95 (patch)
tree0c246b58dbd74a995fa9d4db9423ff4d5c5a18eb /erlang.mk
parenta22f31ebf0f97025d6534bfce448e85a421af1a0 (diff)
downloaderlang.mk-f361821960c95c8cf30a4468243260ef0b4e1c95.tar.gz
erlang.mk-f361821960c95c8cf30a4468243260ef0b4e1c95.tar.bz2
erlang.mk-f361821960c95c8cf30a4468243260ef0b4e1c95.zip
Speed up the git clone download by using shallow downloads.
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index 9a85bd3..5181da7 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -4,7 +4,7 @@ ERLANG_MK_BUILD_CONFIG ?= build.config
ERLANG_MK_BUILD_DIR ?= .erlang.mk.build
erlang.mk: bootstrap
- git clone https://github.com/ninenines/erlang.mk $(ERLANG_MK_BUILD_DIR)
+ git clone --depth 1 https://github.com/ninenines/erlang.mk $(ERLANG_MK_BUILD_DIR)
if [ -f $(ERLANG_MK_BUILD_CONFIG) ]; then cp $(ERLANG_MK_BUILD_CONFIG) $(ERLANG_MK_BUILD_DIR); fi
cd $(ERLANG_MK_BUILD_DIR) && $(MAKE)
cp $(ERLANG_MK_BUILD_DIR)/erlang.mk ./erlang.mk