pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - Improved the regular expressi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9e749c69b9a
branches:  trunk
changeset: 504154:b9e749c69b9a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Dec 05 23:50:16 2005 +0000

description:
- Improved the regular expression for shell words by recognizing make(1)
  variables that are not nested.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8d58605c2eb3 -r b9e749c69b9a pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Mon Dec 05 22:16:13 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Mon Dec 05 23:50:16 2005 +0000
@@ -11,7 +11,7 @@
 # Freely redistributable.  Absolutely no warranty.
 #
 # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.416 2005/12/05 21:56:13 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.417 2005/12/05 23:50:16 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -765,6 +765,7 @@
        |       \"(?:\\.|[^\"\\])*\"
        |       \`[^\`]*\`
        |       \\.
+       |       \$\{[^}]+\}
        |       [^'\"\\\s;&\|<>\#]
        )+ | ;;? | &&? | \|\|? | <<? | >>? | \#.*)"sx;
 



Home | Main Index | Thread Index | Old Index