From fccb4abbb9ccf8d2ddba145f3de2653f72209a5b Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 9 Feb 2007 23:51:29 +0000 Subject: [PATCH] fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53779 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- build_tools/get_makeopts | 2 +- build_tools/get_moduleinfo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tools/get_makeopts b/build_tools/get_makeopts index 15ad97b750..e63622afd1 100644 --- a/build_tools/get_makeopts +++ b/build_tools/get_makeopts @@ -1,3 +1,3 @@ /\/\*\*\* MAKEOPTS/ {printit=1; next} -/\*\*\*\// {exit} +/\*\*\*\// {if (printit) exit} // {if (printit) print} diff --git a/build_tools/get_moduleinfo b/build_tools/get_moduleinfo index 08ae61cbfc..d17c28e063 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}