From 0bc8d6675f8fddbd2983cbf5ffed5629aa819c60 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Tue, 23 Apr 2002 23:32:33 +0000 Subject: [PATCH] Fixed the NetWare AWK script that produces the httpd.conf file so that it understands the new macros. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94776 13f79535-47bb-0310-9956-ffa450edef68 --- build/mkconfNW.awk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/build/mkconfNW.awk b/build/mkconfNW.awk index f0671067d6..9040069db4 100644 --- a/build/mkconfNW.awk +++ b/build/mkconfNW.awk @@ -13,7 +13,12 @@ BEGIN { A["runtimedir"] = "logs" A["errordir"] = "error" A["proxycachedir"] = "proxy" - + + B["htdocsdir"] = A["ServerRoot"]"/"A["htdocsdir"] + B["iconsdir"] = A["ServerRoot"]"/"A["iconsdir"] + B["manualdir"] = A["ServerRoot"]"/"A["manualdir"] + B["errordir"] = A["ServerRoot"]"/"A["errordir"] + B["proxycachedir"] = A["ServerRoot"]"/"A["proxycachedir"] } /@@LoadModule@@/ { @@ -52,6 +57,11 @@ match ($0,/@rel_.*@/) { sub(/@rel_.*@/,A[s],$0) } +match ($0,/@exp_.*@/) { + s=substr($0,RSTART+5,RLENGTH-6) + sub(/@exp_.*@/,B[s],$0) +} + { print } -- 2.40.0