From: Kevin P. Fleming Date: Fri, 9 Feb 2007 23:51:29 +0000 (+0000) Subject: fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source... X-Git-Tag: 1.4.1~119 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fccb4abbb9ccf8d2ddba145f3de2653f72209a5b;p=thirdparty%2Fasterisk.git 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 --- 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}