diff options
author | Joshua Slive <slive@apache.org> | 2005-04-18 19:16:21 +0200 |
---|---|---|
committer | Joshua Slive <slive@apache.org> | 2005-04-18 19:16:21 +0200 |
commit | 8d32896c9c26ec4662582ed28a6e51d31b015b45 (patch) | |
tree | 411396ad200bdc98112b780c177961d5a6a62405 /Makefile.in | |
parent | Update German translation (diff) | |
download | apache2-8d32896c9c26ec4662582ed28a6e51d31b015b45.tar.xz apache2-8d32896c9c26ec4662582ed28a6e51d31b015b45.zip |
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
Diffstat (limited to '')
-rw-r--r-- | Makefile.in | 2 |
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 ; \ |