pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk need to escape ) in the awk regex in do-config-stat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2352aebba407
branches:  trunk
changeset: 469748:2352aebba407
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Feb 28 07:12:21 2004 +0000

description:
need to escape ) in the awk regex in do-config-status-override target;
some pickier awks (e.g nawk) refuse the regex otherwise

diffstat:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 83ce4927639c -r 2352aebba407 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sat Feb 28 06:08:16 2004 +0000
+++ b/mk/bsd.pkg.mk     Sat Feb 28 07:12:21 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1413 2004/02/27 16:50:48 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1414 2004/02/28 07:12:21 jdolecek Exp $
 #
 # This file is in the public domain.
 #
@@ -2474,7 +2474,7 @@
        for file in ${_pattern_}; do                                    \
                if [ -f "$$file" ]; then                                \
                        ${MV} -f $$file $$file.overridden;              \
-                       ${AWK} '/ *-recheck *\| *--recheck.*)/ {        \
+                       ${AWK} '/ *-recheck *\| *--recheck.*\)/ {       \
                                        print;                          \
                                        print "    exit 0";             \
                                        next;                           \



Home | Main Index | Thread Index | Old Index