From 3caa0fa5dc4d5a88e4ef8db67e860deecb2b49ce Mon Sep 17 00:00:00 2001 From: Anders Svensson Date: Thu, 18 Apr 2013 15:35:06 +0200 Subject: Fix mkdir race Creating examples/code and examples/dict in parallel can fail when examples doesn't exists. This has been seen on FreeBSD. --- lib/diameter/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/diameter') diff --git a/lib/diameter/src/Makefile b/lib/diameter/src/Makefile index df10c33268..c0cf418f06 100644 --- a/lib/diameter/src/Makefile +++ b/lib/diameter/src/Makefile @@ -230,7 +230,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk # Can't $(INSTALL_DIR) more than one directory at a time on Solaris. release_spec: opt - for d in bin ebin include src/dict; do \ + for d in bin ebin examples include src/dict; do \ $(INSTALL_DIR) "$(RELSYSDIR)/$$d"; \ done $(INSTALL_SCRIPT) $(BINS:%=../bin/%) "$(RELSYSDIR)/bin" -- cgit v1.2.3