summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig>2006-02-18 14:18:44 +0000
committerrillig <rillig>2006-02-18 14:18:44 +0000
commitbafb4bbe8efe53dfa55ae571dfd2543443bab53a (patch)
treed38e00dbe01e5cfb7e41ca6cca8578acbfcba23f /pkgtools/pkglint
parent56d65296f1b1d36bb071ffb7c26482bbb0f3ad0c (diff)
downloadpkgsrc-bafb4bbe8efe53dfa55ae571dfd2543443bab53a.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",