From: Ben Laurie Date: Sun, 19 Dec 1999 16:36:49 +0000 (+0000) Subject: Deal with newline at the end of the module list. X-Git-Tag: 1.3.10~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e7317cc40243ea79a16873dd8c69761ee21fb77;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/build/build-modules-c.awk b/build/build-modules-c.awk index 0da842152e1..db35c75f69f 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"