3 # This script uses the current values of Girocco::Config to
4 # convert apache.conf.in into apache.conf.
6 # It is run automatically by "make" or "make apache.conf" but
7 # may be run separately if desired.
13 config_options
='admin basedir certsdir cgiroot httpdnsname reporoot webroot'
15 cmd
="sed < apache.conf.in > apache.conf -e '/^##/d'"
16 for option
in $config_options; do
17 cmd
="$cmd -e \"s#@@$option@@#\$cfg_$option#g\""