]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source...
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 9 Feb 2007 23:51:29 +0000 (23:51 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 9 Feb 2007 23:51:29 +0000 (23:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53779 65c4cc65-6c06-0410-ace0-fbb531ad65f3

build_tools/get_makeopts
build_tools/get_moduleinfo

index 15ad97b750b9ec29b9e5289333f9bf9a4bb9c88d..e63622afd167985f484d34f8b6079d07373d8ec6 100644 (file)
@@ -1,3 +1,3 @@
 /\/\*\*\* MAKEOPTS/ {printit=1; next}
-/\*\*\*\// {exit}
+/\*\*\*\// {if (printit) exit}
 // {if (printit) print}
index 08ae61cbfca0945e57a976ac5daa1c3b5e42c8f6..d17c28e06356d9379cda9913984d05740153d5fd 100644 (file)
@@ -1,3 +1,3 @@
 /\/\*\*\* MODULEINFO/ {printit=1; next}
-/\*\*\*\// {exit}
+/\*\*\*\// {if (printit) exit}
 // {if (printit) print}