pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - Disabled the warning that all...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6b731595747
branches:  trunk
changeset: 508366:e6b731595747
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Feb 18 14:18:44 2006 +0000

description:
- Disabled the warning that all substiution commands should be enclosed in
  quotes. -- I've changed my mind.

diffstat:

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

diffs (19 lines):

diff -r 4e1d05f4dc48 -r e6b731595747 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Feb 18 14:13:32 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Feb 18 14:18:44 2006 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.524 2006/02/18 14:13:32 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.525 2006/02/18 14:18:44 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -2604,7 +2604,7 @@
                }
 
                if ($state == SCST_PAX_S || $state == SCST_SED_E) {
-                       if ($shellword !~ qr"^[\"\'].*[\"\']$") {
+                       if (false && $shellword !~ qr"^[\"\'].*[\"\']$") {
                                $line->log_warning("Substitution commands like \"${shellword}\" should always be quoted.");
                                $line->explain(
                                        "Usually these substitution commands contain characters like '*' or",



Home | Main Index | Thread Index | Old Index