Merge "res_pjsip: Use sorcery prefix operation for contact lookup"
[asterisk/asterisk.git] / build_tools / get_moduleinfo
index d17c28e..e4e72bb 100644 (file)
@@ -1,3 +1,4 @@
-/\/\*\*\* MODULEINFO/ {printit=1; next}
-/\*\*\*\// {if (printit) exit}
-// {if (printit) print}
+/\/\*\*\* +MODULEINFO/ {printit=1; next}
+/<support_level>/ {if (gotsupportlevel) { next }; gotsupportlevel=1}
+/\*\*\*\// {printit=0}
+/.*/ {if (printit) print}