]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Some versions of awk (nawk, for example) don't like empty regular expressions
authorSean Bright <sean@malleable.com>
Mon, 25 Aug 2008 21:31:03 +0000 (21:31 +0000)
committerSean Bright <sean@malleable.com>
Mon, 25 Aug 2008 21:31:03 +0000 (21:31 +0000)
so be slightly more verbose.

(closes issue #13374)
Reported by: dougm
Patches:
      13374.diff uploaded by seanbright (license 71)
Tested by: dougm

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@139909 65c4cc65-6c06-0410-ace0-fbb531ad65f3

build_tools/get_makeopts
build_tools/get_moduleinfo

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