pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/check Fixed the warning from GNU awk that in string...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c89a0a63ecf
branches:  trunk
changeset: 521370:8c89a0a63ecf
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 10 08:17:06 2006 +0000

description:
Fixed the warning from GNU awk that in strings, \$ is the same as a
plain $.

diffstat:

 mk/check/check-portability.awk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 98c50a85b682 -r 8c89a0a63ecf mk/check/check-portability.awk
--- a/mk/check/check-portability.awk    Fri Nov 10 08:10:23 2006 +0000
+++ b/mk/check/check-portability.awk    Fri Nov 10 08:17:06 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-portability.awk,v 1.2 2006/11/09 15:12:15 rillig Exp $
+# $NetBSD: check-portability.awk,v 1.3 2006/11/10 08:17:06 rillig Exp $
 #
 # Checks a shell file for possible portability problems.
 #
@@ -24,7 +24,7 @@
 
        } else if (line ~ /\$RANDOM/) {
                found_random = yes;
-               cs_warning_heading("Found \$RANDOM:");
+               cs_warning_heading("Found $RANDOM:");
                cs_warning_msg(cs_fname ": " $0);
        }
 }



Home | Main Index | Thread Index | Old Index