sas             Mon Dec  9 10:32:17 2002 EDT

  Modified files:              
    /php4       Makefile.global 
  Log:
  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).
  
  
Index: php4/Makefile.global
diff -u php4/Makefile.global:1.40 php4/Makefile.global:1.41
--- php4/Makefile.global:1.40   Tue Nov 12 12:40:38 2002
+++ php4/Makefile.global        Mon Dec  9 10:32:17 2002
@@ -37,7 +37,7 @@
        $(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)/"



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to