summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-02-18 14:18:44 +0000
committerrillig <rillig@pkgsrc.org>2006-02-18 14:18:44 +0000
commit7d1e2473fc835c717b4a66839104de9822e9645b (patch)
treed38e00dbe01e5cfb7e41ca6cca8578acbfcba23f /pkgtools/pkglint
parentf45271995b3f2809b4216cd211c849cd220d3f7a (diff)
downloadpkgsrc-7d1e2473fc835c717b4a66839104de9822e9645b.tar.gz
- Disabled the warning that all substiution commands should be enclosed in
quotes. -- I've changed my mind.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 8163817504d..6b8e322b2f4 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -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 @@ sub checkline_mk_shelltext($$) {
}
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",