From: Jeff Trawick Date: Wed, 18 Aug 2004 11:21:33 +0000 (+0000) Subject: apachectl: Fix a problem finding envvars if sbindir != bindir. X-Git-Tag: STRIKER_2_1_0_RC1~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b7847181f3477b460fbca169c5c011fa241634a;p=apache apachectl: Fix a problem finding envvars if sbindir != bindir. PR: 30723 Submitted by: Friedrich Haubensak Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104701 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index eb1e5d62ec..789b547ab1 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) apachectl: Fix a problem finding envvars if sbindir != bindir. + PR 30723. [Friedrich Haubensak ] + *) mod_ssl: Add SSL_CLIENT_V_REMAIN variable, representing the number of days until the client cert expires. [Joe Orton] diff --git a/support/apachectl.in b/support/apachectl.in index 8a959c6891..eb9be2052e 100644 --- a/support/apachectl.in +++ b/support/apachectl.in @@ -43,8 +43,8 @@ ARGV="$@" HTTPD='@exp_sbindir@/@progname@' # # pick up any necessary environment variables -if test -f @exp_bindir@/envvars; then - . @exp_bindir@/envvars +if test -f @exp_sbindir@/envvars; then + . @exp_sbindir@/envvars fi # # a command that outputs a formatted text version of the HTML at the