Some versions of awk (nawk, for example) don't like empty regular expressions

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
This commit is contained in:
Sean Bright
2008-08-25 21:31:03 +00:00
parent 7488ddc223
commit 319a21d960
2 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
/\/\*\*\* MAKEOPTS/ {printit=1; next}
/\*\*\*\// {if (printit) exit}
// {if (printit) print}
/.*/ {if (printit) print}

View File

@@ -1,3 +1,3 @@
/\/\*\*\* MODULEINFO/ {printit=1; next}
/\*\*\*\// {if (printit) exit}
// {if (printit) print}
/.*/ {if (printit) print}