From a93cf73b08c458ed2e4703fbe33be295f60f101c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Fri, 19 Jun 2015 17:58:11 +0200 Subject: core/deps.mk: Ensure $(ERLANG_MK_TMP) is created ... before writing to it. This fixes the following error which is logged with a fresh checkout: /bin/sh: cannot create (...)/.erlang.mk/deps.log: No such file or directory --- core/deps.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'core/deps.mk') diff --git a/core/deps.mk b/core/deps.mk index 78ce3ca..dc21588 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -43,6 +43,7 @@ deps:: $(ALL_DEPS_DIRS) ifneq ($(IS_DEP),1) @rm -f $(ERLANG_MK_TMP)/deps.log endif + @mkdir -p $(ERLANG_MK_TMP) @for dep in $(ALL_DEPS_DIRS) ; do \ if grep -qs ^$$dep$$$$ $(ERLANG_MK_TMP)/deps.log; then \ echo -n; \ -- cgit v1.2.3