httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: cvs commit: httpd-2.0/build binbuild.sh
Date Wed, 28 Nov 2001 20:44:12 GMT
gregames@apache.org wrote:

>   * change seds for apachectl and httpd*.conf to do the right thing

btw, changing the echo'ed seds was freakin' murder (see below).  Why
don't we create a install-bindist.sh.in template in build/, edit it a
little bit at binbuild time, then save the result in bindist/ (rather
than echoing the entire script)?  That should make life much simpler in
the future.

Greg

>   -  echo "sed -e \"s%/usr/local/apache%\$SR%\" \$SR/conf/httpd-std.conf > \$SR/conf/httpd.conf"
&& \
>   -  echo "sed -e \"s%PIDFILE=%PIDFILE=\$SR/%\" -e \"s%HTTPD=%HTTPD=\\\"\$SR/%\" -e \"s%httpd\$%httpd
-d \$SR -R \$SR/libexec\\\"%\" bindist/bin/apachectl > \$SR/bin/apachectl" && \
>   +  echo "sed -e \"s%$DEFAULT_DIR%\$SR%\" \\" && \
>   +  echo "        -e \"s%^HTTPD=.*\$%HTTPD=\\\"\$SR/bin/httpd -d \$SR\\\"%\" bindist/bin/apachectl
> \$SR/bin/apachectl" && \

Mime
View raw message