Subject: Re: pkg_add failed under Solaris 2.7: wrong tar command called.
To: Pierre Bourgin <pierre.bourgin@pcotech.fr>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 10/06/2003 20:13:27
On Mon, Oct 06, 2003 at 11:09:14AM +0200, Pierre Bourgin wrote:

> In fact, this is because uses the wrong tar command: instead of using
> /usr/pkg/bin/tar, it's using 'tar' from $PATH environnment: in my case,
> it will use solaris tar (/usr/bin/tar) instead of /usr/pkg/bin/tar
> because my $PATH is something like "/usr/bin:/usr/pkg/bin" (in that order).
> 
> Of course, I don't want to modify the way I constructed the $PATH
> variable, because this is a solaris related development software server
>    and its environment must as closer as possible to solaris poor tools ;-)
> 
> Please read PR pkg/23070 for this problem and a proposed patch.

you are right, I must have missed this. I've fixed it in
pkgtools/pkg_install, and I'll update bootstrap-pkgsrc shortly. thanks!

grant.