From 2e7317cc40243ea79a16873dd8c69761ee21fb77 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 19 Dec 1999 16:36:49 +0000 Subject: [PATCH] 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 --- build/build-modules-c.awk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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" -- 2.50.1