pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files lintpkgsrc: fix warning abou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0329abe5d3b3
branches:  trunk
changeset: 382522:0329abe5d3b3
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jul 30 10:55:51 2022 +0000

description:
lintpkgsrc: fix warning about string comparison with undefined

Since today.

diffstat:

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

diffs (17 lines):

diff -r 729a127bdf62 -r 0329abe5d3b3 pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Sat Jul 30 10:11:45 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Sat Jul 30 10:55:51 2022 +0000
@@ -1,6 +1,6 @@
 #!@PERL5@
 
-# $NetBSD: lintpkgsrc.pl,v 1.35 2022/07/30 10:11:45 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.36 2022/07/30 10:55:51 rillig Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -1800,4 +1800,4 @@
        }
 }
 
-main() unless $ENV{'TESTING_LINTPKGSRC'} eq 'yes';
+main() unless defined $ENV{'TESTING_LINTPKGSRC'};



Home | Main Index | Thread Index | Old Index