Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread Landry Breuil
On Fri, Oct 24, 2014 at 02:34:54AM -0400, thev...@openmailbox.org wrote: with SUDO set in /etc/mk.conf: if make release is run as root it will not proceed. if run as a regular user it gets further, but fails on permissions. without SUDO in /etc/mk.conf (and i presume the environment) it

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread Alexander Hall
Maybe $ make SUDO= release works? That enforces the value of SUDO, but I've never tried it for an empty value. Or try $ make SUDO=' ' release /Alexander On October 24, 2014 8:34:54 AM CEST, thev...@openmailbox.org wrote: with SUDO set in /etc/mk.conf: if make release is run as root it

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread Mark Kettenis
Date: Fri, 24 Oct 2014 08:35:40 +0200 From: Landry Breuil lan...@rhaalovely.net On Fri, Oct 24, 2014 at 02:34:54AM -0400, thev...@openmailbox.org wrote: with SUDO set in /etc/mk.conf: if make release is run as root it will not proceed. if run as a regular user it gets further, but

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread THEvoid
On Fri, 24 Oct 2014 08:35:40 +0200 Landry Breuil lan...@rhaalovely.net wrote: On Fri, Oct 24, 2014 at 02:34:54AM -0400, thev...@openmailbox.org wrote: with SUDO set in /etc/mk.conf: if make release is run as root it will not proceed. if run as a regular user it gets further, but fails

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread THEvoid
On Fri, 24 Oct 2014 07:53:09 +0200 Alexander Hall alexan...@beard.se wrote: Maybe $ make SUDO= release works? indeed this works, thanks! $ sudo env DESTDIR=/usr/dst RELEASEDIR=/usr/release make SUDO= release That enforces the value of SUDO, but I've never tried it for an empty value.

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread Landry Breuil
On Fri, Oct 24, 2014 at 05:09:36AM -0400, thev...@openmailbox.org wrote: On Fri, 24 Oct 2014 08:35:40 +0200 Landry Breuil lan...@rhaalovely.net wrote: On Fri, Oct 24, 2014 at 02:34:54AM -0400, thev...@openmailbox.org wrote: with SUDO set in /etc/mk.conf: if make release is run as root

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread THEvoid
On Fri, 24 Oct 2014 10:29:17 +0200 Landry Breuil lan...@rhaalovely.net wrote: On Fri, Oct 24, 2014 at 05:09:36AM -0400, thev...@openmailbox.org wrote: On Fri, 24 Oct 2014 08:35:40 +0200 Landry Breuil lan...@rhaalovely.net wrote: On Fri, Oct 24, 2014 at 02:34:54AM -0400,

make release fails if SUDO is set in mk.conf

2014-10-23 Thread THEvoid
with SUDO set in /etc/mk.conf: if make release is run as root it will not proceed. if run as a regular user it gets further, but fails on permissions. without SUDO in /etc/mk.conf (and i presume the environment) it works fine. is there any way around this allowing /etc/mk.conf (which is