From 0b7e40f2748ad6dfb0dfef278920895283d40638 Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Fri, 28 Sep 2007 23:01:28 +0200 Subject: [PATCH] Fixed issue with non-bash shells being unable of configuring the module. --- config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config b/config index cbc7a79..0430ed8 100644 --- a/config +++ b/config @@ -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"