When running repeated builds using `make build` you get prompts in cases the `mv` command is about to overwrite a file which is write-protect. This patch forced the `mv` w/o prompting for approval.
Signed-off-by: hunchback <[email protected]> --- Makefile.am | 2 +- lib/automake.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 691a005ad..cb8076433 100644 --- a/Makefile.am +++ b/Makefile.am @@ -168,7 +168,7 @@ SUFFIXES += .in @if head -n 1 [email protected] | grep '#!' > /dev/null; then \ chmod +x [email protected]; \ fi - $(AM_V_at) mv [email protected] $@ + $(AM_V_at) mv -f [email protected] $@ SUFFIXES += .xml %: %.xml diff --git a/lib/automake.mk b/lib/automake.mk index 39afbff9d..39901bd6d 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -590,7 +590,7 @@ lib/dirs.c: lib/dirs.c.in Makefile -e 's,[@]sysconfdir[@],"$(sysconfdir)",g' \ -e 's,[@]pkgdatadir[@],"$(pkgdatadir)",g') \ > lib/dirs.c.tmp && \ - mv lib/dirs.c.tmp lib/dirs.c + mv -f lib/dirs.c.tmp lib/dirs.c lib/meta-flow.inc: $(srcdir)/build-aux/extract-ofp-fields include/openvswitch/meta-flow.h $(AM_V_GEN)$(run_python) $< meta-flow $(srcdir)/include/openvswitch/meta-flow.h > [email protected] -- 2.25.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
