svn commit: r284942 - in head/release: . scripts

Glen Barber gjb at FreeBSD.org
Tue Jun 30 01:13:17 UTC 2015


On Tue, Jun 30, 2015 at 01:11:46AM +0000, Glen Barber wrote:
> On Mon, Jun 29, 2015 at 09:09:13PM -0400, Philip M. Gollucci wrote:
> > On Mon, Jun 29, 2015 at 5:26 PM, Brad Davis <brd at freebsd.org> wrote:
> > 
> > > +       env ASSUME_ALWAYS_YES=yes pkg install -y curl
> > >
> > 
> > why do we have both the env and the -y switch?
> > 
> 
> Because if pkg is not bootstrapped (pkg(7) versus pkg(8)), the former
> (/usr/sbin/pkg) does not recognize '-y'.
> 

Given the order in which the '.if exists()' events occur, theoretically
this should never happen here, but I prefer to include it for
consistency throughout all of the scripts/Makefiles.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150630/3447935d/attachment.bin>


More information about the svn-src-all mailing list