Browse Source

Fix a missing file warning

Loïc Hoguin 8 years ago
parent
commit
49952d731f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/dialyzer.mk

+ 1 - 1
plugins/dialyzer.mk

@@ -43,7 +43,7 @@ endef
 
 $(DIALYZER_PLT): deps app
 	$(verbose) dialyzer --build_plt --apps erts kernel stdlib $(PLT_APPS) $(OTP_DEPS) $(LOCAL_DEPS) \
-		`cat $(ERLANG_MK_TMP)/deps.log`
+		`test -f $(ERLANG_MK_TMP)/deps.log && cat $(ERLANG_MK_TMP)/deps.log`
 
 plt: $(DIALYZER_PLT)