summaryrefslogtreecommitdiff
path: root/ovsdb
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-03-14 16:39:28 -0700
committerBen Pfaff <blp@nicira.com>2011-03-14 16:39:28 -0700
commit389d13c074fa064f89aff45e571c37a35a78c7ee (patch)
tree497798f7c6e64911f10472a088f6b20adf133a3c /ovsdb
parentd3643fc5989f88b1eda701d8aefca0ed3ff9dcdc (diff)
downloadopenvswitch-389d13c074fa064f89aff45e571c37a35a78c7ee.tar.gz
ovsdbmonitor: Fix "make install" race.
In a parallel make, the install-exec-local target runs concurrently with the creation of the directory that it installs into. Fix the race by using the install-exec-hook target instead, which runs subsequently to directory creation.
Diffstat (limited to 'ovsdb')
-rw-r--r--ovsdb/ovsdbmonitor/automake.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/ovsdbmonitor/automake.mk b/ovsdb/ovsdbmonitor/automake.mk
index e24c5360b..11c25cb8d 100644
--- a/ovsdb/ovsdbmonitor/automake.mk
+++ b/ovsdb/ovsdbmonitor/automake.mk
@@ -31,7 +31,7 @@ ovsdbmonitordir = ${pkgdatadir}/ovsdbmonitor
if BUILD_OVSDBMONITOR
noinst_SCRIPTS += ovsdb/ovsdbmonitor/ovsdbmonitor
ovsdbmonitor_DATA = $(ovsdbmonitor_pyfiles)
-install-exec-local:
+install-exec-hook:
sed -e '/NOINSTALL/d' < ovsdb/ovsdbmonitor/ovsdbmonitor > ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
chmod +x ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
$(INSTALL_PROGRAM) ovsdb/ovsdbmonitor/ovsdbmonitor.tmp $(DESTDIR)$(bindir)/ovsdbmonitor