From 6c4bf0b0070d474ac6cf97b3fda2e262cd060703 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 15 Jun 2010 10:38:44 -0700 Subject: [PATCH] ovsdbmonitor: Put temporary file in ovsdb/ovsdbmonitor directory. The temporary file ovsdbmonitor.tmp was being put into the root of the build directory, which seems unnecessary. Also, delete the temporary file when we no longer need it. --- ovsdb/ovsdbmonitor/automake.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ovsdb/ovsdbmonitor/automake.mk b/ovsdb/ovsdbmonitor/automake.mk index 5d1f960b2..dffb0c8a6 100644 --- a/ovsdb/ovsdbmonitor/automake.mk +++ b/ovsdb/ovsdbmonitor/automake.mk @@ -32,9 +32,10 @@ if BUILD_OVSDBMONITOR noinst_SCRIPTS += ovsdb/ovsdbmonitor/ovsdbmonitor ovsdbmonitor_DATA = $(ovsdbmonitor_pyfiles) install-exec-local: - sed -e '/NOINSTALL/d' < ovsdb/ovsdbmonitor/ovsdbmonitor > ovsdbmonitor.tmp - chmod +x ovsdbmonitor.tmp - $(INSTALL_PROGRAM) ovsdbmonitor.tmp $(DESTDIR)$(bindir)/ovsdbmonitor + 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 + rm ovsdb/ovsdbmonitor/ovsdbmonitor.tmp endif SUFFIXES += .ui .py -- 2.43.0