diff options
author | drochner <drochner> | 1999-09-25 16:06:54 +0000 |
---|---|---|
committer | drochner <drochner> | 1999-09-25 16:06:54 +0000 |
commit | da943d94fb50425ae07441a09b346135cdf4ffab (patch) | |
tree | d49e2aa289ef6c76e577067bea4020b6408541ca /pkgtools | |
parent | ced706d06178fb95c78e5e76e68d317a654345ba (diff) | |
download | pkgsrc-da943d94fb50425ae07441a09b346135cdf4ffab.tar.gz |
put /usr/sbin into the PATH to make sure pkg_info is found
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/pkglint/files/lintpkgsrc.pl | 4 |
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) || |