summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>1999-09-25 16:06:54 +0000
committerdrochner <drochner@pkgsrc.org>1999-09-25 16:06:54 +0000
commita33ba672a45171b54f024a510f3cc1165ebf939b (patch)
treed49e2aa289ef6c76e577067bea4020b6408541ca /pkgtools/pkglint
parent6e4d2fd69e2b40610b5ed99156504bb2b474f5eb (diff)
downloadpkgsrc-a33ba672a45171b54f024a510f3cc1165ebf939b.tar.gz
put /usr/sbin into the PATH to make sure pkg_info is found
Diffstat (limited to 'pkgtools/pkglint')
-rwxr-xr-xpkgtools/pkglint/files/lintpkgsrc.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl
index bb8bf362c2c..bad9f451e88 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.5 1999/08/01 18:34:41 abs Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.6 1999/09/25 16:06:54 drochner Exp $
# (Somewhat quickly) Written by David Brownlee <abs@netbsd.org>.
# Caveats:
@@ -17,6 +17,8 @@ use File::Find;
use vars qw($opt_P $opt_d $opt_h $opt_i $opt_l $opt_m $opt_o $opt_p $opt_r);
my(%pkg2dir,@oldprebuiltpackages);
+$ENV{PATH}.=':/usr/sbin';
+
if (! &Getopts('P:dhilmopr') || $opt_h ||
! ( defined($opt_d) || defined($opt_i) || defined($opt_l) ||
defined($opt_m) || defined($opt_o) || defined($opt_p) ||