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 | 9767f87ed1725c7f33e25a7ab198e19d90dcc846 (patch) | |
tree | 34ccc7439005715d45d29273256f21a808abc98e /helpers | |
parent | 7a68831d77a40e695833d37d8db461308243af06 (diff) | |
download | apr-9767f87ed1725c7f33e25a7ab198e19d90dcc846.tar.gz |
Deal with newline at the end of the module list.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59539 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/build-modules-c.awk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/helpers/build-modules-c.awk b/helpers/build-modules-c.awk index 0da842152..db35c75f6 100644 --- a/helpers/build-modules-c.awk +++ b/helpers/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" |