summaryrefslogtreecommitdiffstats
path: root/build/mkconfNW.awk
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2002-04-24 01:32:33 +0200
committerBradley Nicholes <bnicholes@apache.org>2002-04-24 01:32:33 +0200
commitef83b62d7f52d3207cd65428373eb6da7fc08a0d (patch)
tree9d01cf823e11603b14a6e0ffe4379dbcb6a2f391 /build/mkconfNW.awk
parentThere were multiple PR's about this one (diff)
downloadapache2-ef83b62d7f52d3207cd65428373eb6da7fc08a0d.tar.xz
apache2-ef83b62d7f52d3207cd65428373eb6da7fc08a0d.zip
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
Diffstat (limited to 'build/mkconfNW.awk')
-rw-r--r--build/mkconfNW.awk12
1 files changed, 11 insertions, 1 deletions
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
}