]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 412: small awk syntax change to avoid error messages in gawk
authorLee Howard <faxguy@howardsilvan.com>
Thu, 1 Jan 2004 22:39:22 +0000 (22:39 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Thu, 1 Jan 2004 22:39:22 +0000 (22:39 +0000)
etc/faxaddmodem.sh.in

index c8d9377b940e14e6bd9f699a01c6271b7a7c45d2..f83e208dedf1d79f593ec9a41d8717100841a9c1 100644 (file)
@@ -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.\";"