httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r161776 - httpd/httpd/trunk/Makefile.in
Date Mon, 18 Apr 2005 17:16:21 GMT
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 ; \



Mime
View raw message