Fixed issue with non-bash shells being unable of configuring the module.

pull/4/head
Adrian Perez 2007-09-28 23:01:28 +02:00
parent d508e6f95a
commit 0b7e40f274
1 changed files with 2 additions and 1 deletions

3
config
View File

@ -3,5 +3,6 @@ ngx_addon_name=ngx_http_fancyindex_module
# XXX: Insert fancyindex module *after* index module!
#
HTTP_MODULES="${HTTP_MODULES/ngx_http_index_module/ngx_http_fancyindex_module ngx_http_index_module}"
HTTP_MODULES=`echo "${HTTP_MODULES}" | sed -e \
's/ngx_http_index_module/ngx_http_fancyindex_module ngx_http_index_module/'`
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_fancyindex_module.c"