You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2005/04/18 19:16:21 UTC

svn commit: r161776 - httpd/httpd/trunk/Makefile.in

Author: slive
Date: Mon Apr 18 10:16:21 2005
New Revision: 161776

URL: http://svn.apache.org/viewcvs?view=rev&rev=161776
Log:
Make sure we don't overwrite existing config if it
has a name other than httpd.conf.

Submitted by: Rici Lake

Modified:
    httpd/httpd/trunk/Makefile.in

Modified: httpd/httpd/trunk/Makefile.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/Makefile.in?view=diff&r1=161775&r2=161776
==============================================================================
--- httpd/httpd/trunk/Makefile.in (original)
+++ httpd/httpd/trunk/Makefile.in Mon Apr 18 10:16:21 2005
@@ -78,7 +78,7 @@
 	    	if [ "$$i" = "httpd.conf" ]; then \
 	    		file=`echo $$i|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
 	    	fi; \
-	    	if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
+	    	if test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
 	    		$(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \
 	    	fi; \
 	    done ; \