* opts.sh: Quote '+' in regex.

From-SVN: r67984
This commit is contained in:
Neil Booth 2003-06-15 19:34:27 +00:00
parent 5641d6223e
commit 3d57a5ccfe

View File

@ -49,7 +49,7 @@ ${AWK} '
result = "0"
for (j = 0; j < n_langs; j++) {
regex = " " langs[j] " "
gsub ( "\+", "\\+", regex )
gsub ( "\\+", "\\+", regex )
if (flags ~ regex)
result = result " | " macros[j]
}