Hi,

> It seems that BUILDRESULT defined in my ~/.pbuilderrc is ignored when 
> invoking cowbuilder using sudo or as root.
> When using sudo, cowbuilder tries to source /root/.pbuilderrc instead.
> ~/.pbuilderrc contains BUILDRESULT=${HOME}/pbuilder/result.
> 
> I'm just guessing here, but in parameter.c load_config_file( ) resets the 
> environment
> and I lose my $HOME. Could the 'env -' be removed?
> Thanks.

Hmmm.. there are two options.  I can expand ~ before 'env - ', or I
can remove 'env - '. The initial thought was that 'env - ' is required
to clean up the environment, but since 'pbuilder' doensn't do it, it
doesn't really matter.

Hmm..

regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to