diff options
author | Sascha Schumann <sas@php.net> | 2002-12-09 15:32:17 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-12-09 15:32:17 +0000 |
commit | 7b2fd2c6c994dfee93871a31d27d5bcd2ba450ba (patch) | |
tree | a3295d78bcaa9a9d7def0b9ddd03d0d255edeece | |
parent | 3994fbbc86bf7512f4031eef249addc82d919240 (diff) | |
download | php-git-7b2fd2c6c994dfee93871a31d27d5bcd2ba450ba.tar.gz |
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).
-rw-r--r-- | Makefile.global | 2 |
1 files changed, 1 insertions, 1 deletions
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)/" |