summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Slive <slive@apache.org>2005-04-18 17:16:21 +0000
committerJoshua Slive <slive@apache.org>2005-04-18 17:16:21 +0000
commit8d32896c9c26ec4662582ed28a6e51d31b015b45 (patch)
tree411396ad200bdc98112b780c177961d5a6a62405
parentf69ad9fd209d70e36d385b076e8d32db7fd66ea8 (diff)
downloadhttpd-8d32896c9c26ec4662582ed28a6e51d31b015b45.tar.gz
Make sure we don't overwrite existing config if it
has a name other than httpd.conf. Submitted by: Rici Lake git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161776 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index d75b567cc5..87ad28f470 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -78,7 +78,7 @@ install-conf:
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 ; \