[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Mock and environment variables
- From: Mike McGrath <imlinux gmail com>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: Mock and environment variables
- Date: Tue, 31 Jan 2006 09:10:14 -0600
Paul Howarth wrote:
>On Mon, 2006-01-30 at 23:25 -0600, Michael McGrath wrote:
>
>
>>Does anyone know what environmetn variables Mock uses when building a
>>package? Specifically I'm interested in PATH
>>
>>
>
>I'd have thought it'd be the standard "non-root user" PATH, modified by
>any /etc/profile.d/*.sh entries pulled in using BuildRequires. You could
>test it by adding a line "echo PATH is $PATH" in %prep, %build etc. of a
>spec file for something and look in the build.log.
>
>Paul.
>
>
>
Interesting mock :
export
PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin"
normal user:
PATH="/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/mmcgrath/bin"
Not what I'd expected either, it was causing one of my packages to
compile with Mock but not with my normal user :-D
-Mike
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]