diff options
author | abs <abs@pkgsrc.org> | 2000-08-30 12:54:22 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2000-08-30 12:54:22 +0000 |
commit | 2dc45e53819fbe41f9579906818bdd76e98cf872 (patch) | |
tree | e85c2ed049c9d9342f91241b5eb65f54a7bd4e92 /pkgtools/pkglint | |
parent | 7082ccd6d95285958ba63e77edeba6465287541a (diff) | |
download | pkgsrc-2dc45e53819fbe41f9579906818bdd76e98cf872.tar.gz |
Avoid (harmless) uninitialised variable warnings in the even of a package not
having any discernable version. Update to 2.15
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkglint/files/lintpkgsrc.pl | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 56faa82980b..d186bfeb8e5 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.55 2000/08/28 14:14:59 abs Exp $ +# $NetBSD: Makefile,v 1.56 2000/08/30 12:54:22 abs Exp $ # -DISTNAME= pkglint-2.14 +DISTNAME= pkglint-2.15 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl index 2bac09964d9..413a05a9273 100755 --- a/pkgtools/pkglint/files/lintpkgsrc.pl +++ b/pkgtools/pkglint/files/lintpkgsrc.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl -# $NetBSD: lintpkgsrc.pl,v 1.27 2000/08/28 14:15:00 abs Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.28 2000/08/30 12:54:23 abs Exp $ # Written by David Brownlee <abs@netbsd.org>. # @@ -707,7 +707,10 @@ sub scan_pkgsrc_makefiles if ($pkgname) { if ($pkgname !~ /(.*)-(\d.*)/) - { print "Cannot extract $pkgname version ($cat/$pkgdir)\n"; } + { + print "Cannot extract $pkgname version ($cat/$pkgdir)\n"; + next; + } $pkg{$1}{$2}{'dir'} = "$cat/$pkgdir"; $pkg{$1}{$2}{'depends'} = $vars{'DEPENDS'}; } |