From: Sascha Schumann Date: Mon, 9 Dec 2002 15:32:17 +0000 (+0000) Subject: Use $(INSTALL) rather than cp to install modules. X-Git-Tag: RELEASE_1_0b3~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b2fd2c6c994dfee93871a31d27d5bcd2ba450ba;p=php 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). --- diff --git a/Makefile.global b/Makefile.global index be922fce90..f575a20885 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)/"