From a11c6fb7f9ee084fe87bdcba32529358d9fab64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 10 Dec 2018 13:52:59 +0100 Subject: Optimization: reduce the number of shell commands on noops --- core/kerl.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/kerl.mk') diff --git a/core/kerl.mk b/core/kerl.mk index b514052..c8096dd 100644 --- a/core/kerl.mk +++ b/core/kerl.mk @@ -39,8 +39,7 @@ endef $(KERL): $(KERL_DIR) -$(KERL_DIR): - $(verbose) mkdir -p $(ERLANG_MK_TMP) +$(KERL_DIR): | $(ERLANG_MK_TMP) $(gen_verbose) git clone --depth 1 $(KERL_GIT) $(ERLANG_MK_TMP)/kerl $(verbose) cd $(ERLANG_MK_TMP)/kerl && git checkout $(KERL_COMMIT) $(verbose) chmod +x $(KERL) -- cgit v1.2.3