From: Lee Howard Date: Thu, 1 Jan 2004 22:39:22 +0000 (+0000) Subject: Bug 412: small awk syntax change to avoid error messages in gawk X-Git-Tag: HYLAFAX-4_2_0BETA1~54 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=28f0359cb1e2700c1e2f583c171b17d949e83eda;p=thirdparty%2FHylaFAX.git Bug 412: small awk syntax change to avoid error messages in gawk --- diff --git a/etc/faxaddmodem.sh.in b/etc/faxaddmodem.sh.in index c8d9377b..f83e208d 100644 --- a/etc/faxaddmodem.sh.in +++ b/etc/faxaddmodem.sh.in @@ -1070,7 +1070,7 @@ configureClass1Modem() BEGIN { proto = "" } FILENAME ~ /^OLD/ { next } FILENAME ~ /^config\./ { next } -(C == $4 || (C ~ $4 && $4 ~ "\*")) && I ~ $5 && F ~ $6 { +(C == $4 || (C ~ $4 && $4 ~ /\*/)) && I ~ $5 && F ~ $6 { if (proto != "") { print "echo \"Warning, multiple configuration files exist for this modem,\";" print "echo \" the file " $1 " is ignored.\";"