From: Joshua Slive Date: Sun, 3 Apr 2005 17:50:14 +0000 (+0000) Subject: The last commit messed up the case where we change X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41431539ab8dffb8c7b2a3020bb0a54fd7366596;p=thirdparty%2Fapache%2Fhttpd.git The last commit messed up the case where we change the config file name based on the executable name (which doesn't seem like such a good idea in the first case, but anyway....). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/simple-conf@159941 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/Makefile.in b/Makefile.in index f9655964813..d75b567cc59 100644 --- a/Makefile.in +++ b/Makefile.in @@ -74,11 +74,12 @@ install-conf: fi \ ) > $(DESTDIR)$(sysconfdir)/original/$$i; \ chmod 0644 $(DESTDIR)$(sysconfdir)/original/$$i; \ + file=$$i; \ if [ "$$i" = "httpd.conf" ]; then \ file=`echo $$i|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \ fi; \ if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \ - $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$i; \ + $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \ fi; \ done ; \ done ; \