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 error messag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eed97ba89dcc
branches:  trunk
changeset: 382511:eed97ba89dcc
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jul 30 08:25:45 2022 +0000

description:
lintpkgsrc: fix error message for accessing category directory

diffstat:

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

diffs (20 lines):

diff -r f2246a6c2f53 -r eed97ba89dcc pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Sat Jul 30 08:21:31 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Sat Jul 30 08:25:45 2022 +0000
@@ -1,6 +1,6 @@
 #!@PERL5@
 
-# $NetBSD: lintpkgsrc.pl,v 1.29 2022/07/30 08:21:31 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.30 2022/07/30 08:25:45 rillig Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -940,7 +940,7 @@
        my (@pkgdirs);
 
        if (!opendir(CAT, "$pkgsrcdir/$cat")) {
-               die("Unable to opendir($pkgsrcdir/cat): $!");
+               die("Unable to opendir($pkgsrcdir/$cat): $!");
        }
        @pkgdirs =
            sort grep($_ ne 'Makefile'



Home | Main Index | Thread Index | Old Index