diff options
author | rillig <rillig@pkgsrc.org> | 2006-05-31 08:59:13 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-05-31 08:59:13 +0000 |
commit | f1e866ee17d630a4e41a4d1611a6ef6a7907d9d6 (patch) | |
tree | 42071810d741f34e9683a0f3bb9ed3d6fe3fe311 /pkgtools | |
parent | c821274d364327d5d1c2802293ff425cf79cce49 (diff) | |
download | pkgsrc-f1e866ee17d630a4e41a4d1611a6ef6a7907d9d6.tar.gz |
Using the := operator has subtle effects on the number of '$' characters
in strings. So don't use them.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 5d179a720fa..6078dab77b7 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.594 2006/05/31 08:46:00 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.595 2006/05/31 08:59:13 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -2944,7 +2944,11 @@ sub checkline_mk_varuse($$$$) { "incrementally. Therefore it is generally unsafe to rely on their value", "until it is clear that it will never change again. This point is", "reached when the whole package Makefile is loaded and execution of the", - "shell commands starts."); + "shell commands starts.", + "", + "Additionally, each \$\$ is replaced with a single \$, so variables", + "that have references to shell variables or regular expressions are", + "modified in a subtle way."); } } |