From 7b2fd2c6c994dfee93871a31d27d5bcd2ba450ba Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 9 Dec 2002 15:32:17 +0000 Subject: Use $(INSTALL) rather than cp to install modules. $(INSTALL) will usually unlink the target file first, so that in-memory instances of the old file don't get simply overwritten (and crash and burn). --- Makefile.global | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.global b/Makefile.global index be922fc..f575a20 100644 --- a/Makefile.global +++ b/Makefile.global @@ -37,7 +37,7 @@ install-modules: build-modules $(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR) && \ echo "Installing shared extensions: $(INSTALL_ROOT)$(EXTENSION_DIR)/" && \ rm -f modules/*.la && \ - cp modules/* $(INSTALL_ROOT)$(EXTENSION_DIR) >/dev/null 2>&1 || true + $(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR) >/dev/null 2>&1 || true install-tester: @echo "Installing regression tester: $(INSTALL_ROOT)$(PEAR_INSTALLDIR)/" -- cgit v0.12