[PATCH modular 1/8] build.sh: expose the PREFIX variable for the user to set

Gaetan Nadon memsize at videotron.ca
Sat Dec 18 08:01:56 PST 2010

On Thu, 2010-12-16 at 22:40 -0500, Trevor Woerner wrote:

> On Thu, Dec 16, 2010 at 9:31 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> > Currently PREFIX is an internal build.sh variable which is used
> > to emit the --prefix option to all modules.
> >
> > Make this variable part of the public interface and pick-up the value
> > from the environment.
> Currently the user is expected to supply the PREFIX on the build.sh
> command-line. If the user's environment defines a variable named
> PREFIX and the user supplies the PREFIX on the cmdline, which one is
> supposed to win? If the environment defines the PREFIX should we
> remove the requirement to supply it on the cmdline?

From my experience, the command line takes precedence over the
environment variable. I don't think this is written anywhere, it seems
to be a convention. Someone with more UNIX experience can perhaps
confirm this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101218/25921ec1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101218/25921ec1/attachment.pgp>

More information about the xorg-devel mailing list