aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-04-18 15:35:06 +0200
committerAnders Svensson <[email protected]>2013-04-18 15:40:58 +0200
commit3caa0fa5dc4d5a88e4ef8db67e860deecb2b49ce (patch)
treea56c2a24d71b18582f7a443fbac4f2bf4497b881 /lib
parent656b37f1b6fbc3611f5e0f8b8c0e4f61bef9092b (diff)
downloadotp-3caa0fa5dc4d5a88e4ef8db67e860deecb2b49ce.tar.gz
otp-3caa0fa5dc4d5a88e4ef8db67e860deecb2b49ce.tar.bz2
otp-3caa0fa5dc4d5a88e4ef8db67e860deecb2b49ce.zip
Fix mkdir race
Creating examples/code and examples/dict in parallel can fail when examples doesn't exists. This has been seen on FreeBSD.
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/Makefile2
1 files changed, 1 insertions, 1 deletions
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"