You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Greg Ames <gr...@remulak.net> on 2001/11/28 21:44:12 UTC
Re: cvs commit: httpd-2.0/build binbuild.sh
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" && \