pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/checksum checksum.awk: Avoid warnings with newer gawk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98d894b9619d
branches:  trunk
changeset: 440371:98d894b9619d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Oct 07 18:09:52 2020 +0000

description:
checksum.awk: Avoid warnings with newer gawk.

Reported by Jörn Clausen in PR#55581.

diffstat:

 mk/checksum/checksum.awk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 1631cfb547b8 -r 98d894b9619d mk/checksum/checksum.awk
--- a/mk/checksum/checksum.awk  Wed Oct 07 13:25:20 2020 +0000
+++ b/mk/checksum/checksum.awk  Wed Oct 07 18:09:52 2020 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/awk -f
 #
-# $NetBSD: checksum.awk,v 1.2 2020/08/27 11:56:38 jperkin Exp $
+# $NetBSD: checksum.awk,v 1.3 2020/10/07 18:09:52 jperkin Exp $
 #
 ###########################################################################
 #
@@ -126,7 +126,7 @@
                if (NF != 4) {
                        continue
                }
-               if ($0 ~ /^(\#|\$|Size)/) {
+               if ($0 ~ /^(#|\$|Size)/) {
                        continue
                }
 
@@ -210,7 +210,7 @@
                if (NF != 4) {
                        continue
                }
-               if ($0 ~ /^(\#|\$|Size)/) {
+               if ($0 ~ /^(#|\$|Size)/) {
                        continue
                }
 



Home | Main Index | Thread Index | Old Index