aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools/get_moduleinfo
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-09 23:51:29 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-09 23:51:29 +0000
commita9ac21d345a3221cdb770d949ebc47aade23d262 (patch)
treea977076d3a66e85c154affd11811e7a46a72795a /build_tools/get_moduleinfo
parentdb0f61682e5dea346cc4e237889e69fdbb2b6140 (diff)
fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53779 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/get_moduleinfo')
-rw-r--r--build_tools/get_moduleinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/get_moduleinfo b/build_tools/get_moduleinfo
index 08ae61cbf..d17c28e06 100644
--- a/build_tools/get_moduleinfo
+++ b/build_tools/get_moduleinfo
@@ -1,3 +1,3 @@
/\/\*\*\* MODULEINFO/ {printit=1; next}
-/\*\*\*\// {exit}
+/\*\*\*\// {if (printit) exit}
// {if (printit) print}