Mock and environment variables
Paul Howarth
paul at city-fan.org
Tue Jan 31 07:55:39 UTC 2006
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.
More information about the fedora-extras-list
mailing list