Browse Source

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
Jean-Sébastien Pédron 10 years ago
parent
commit
a93cf73b08
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/deps.mk

+ 1 - 0
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; \