diff options
author | Ben Laurie <ben@apache.org> | 1999-12-19 16:36:49 +0000 |
---|---|---|
committer | Ben Laurie <ben@apache.org> | 1999-12-19 16:36:49 +0000 |
commit | 2e7317cc40243ea79a16873dd8c69761ee21fb77 (patch) | |
tree | 8249d38f2b8019f35546dbed95feea152430feb1 /build/build-modules-c.awk | |
parent | c0dd97c44ca872aeb9256086511957b5c495a9d1 (diff) | |
download | httpd-2e7317cc40243ea79a16873dd8c69761ee21fb77.tar.gz |
Deal with newline at the end of the module list.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84319 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/build-modules-c.awk')
-rw-r--r-- | build/build-modules-c.awk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/build/build-modules-c.awk b/build/build-modules-c.awk index 0da842152e..db35c75f69 100644 --- a/build/build-modules-c.awk +++ b/build/build-modules-c.awk @@ -3,7 +3,14 @@ BEGIN { modules[n++] = "core" pmodules[pn++] = "core" } -{ modules[n++] = $1 ; pmodules[pn++] = $1 } +{ + modules[n] = $1; + pmodules[pn] = $1; + gsub("\n","",modules[n]); + gsub("\n","",pmodules[pn]); + ++n; + ++pn; +} END { print "/*" print " * modules.c --- automatically generated by Apache" |