[asterisk-commits] kpfleming: branch 1.4 r53779 - /branches/1.4/build_tools/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 9 16:51:30 MST 2007


Author: kpfleming
Date: Fri Feb  9 17:51:29 2007
New Revision: 53779

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53779
Log:
fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file

Modified:
    branches/1.4/build_tools/get_makeopts
    branches/1.4/build_tools/get_moduleinfo

Modified: branches/1.4/build_tools/get_makeopts
URL: http://svn.digium.com/view/asterisk/branches/1.4/build_tools/get_makeopts?view=diff&rev=53779&r1=53778&r2=53779
==============================================================================
--- branches/1.4/build_tools/get_makeopts (original)
+++ branches/1.4/build_tools/get_makeopts Fri Feb  9 17:51:29 2007
@@ -1,3 +1,3 @@
 /\/\*\*\* MAKEOPTS/ {printit=1; next}
-/\*\*\*\// {exit}
+/\*\*\*\// {if (printit) exit}
 // {if (printit) print}

Modified: branches/1.4/build_tools/get_moduleinfo
URL: http://svn.digium.com/view/asterisk/branches/1.4/build_tools/get_moduleinfo?view=diff&rev=53779&r1=53778&r2=53779
==============================================================================
--- branches/1.4/build_tools/get_moduleinfo (original)
+++ branches/1.4/build_tools/get_moduleinfo Fri Feb  9 17:51:29 2007
@@ -1,3 +1,3 @@
 /\/\*\*\* MODULEINFO/ {printit=1; next}
-/\*\*\*\// {exit}
+/\*\*\*\// {if (printit) exit}
 // {if (printit) print}



More information about the asterisk-commits mailing list