[PATCH modular 04/13] build.sh: allow user to specify an alternate datadir

Gaetan Nadon memsize at videotron.ca
Wed Dec 29 11:45:53 PST 2010


On Wed, 2010-12-29 at 12:22 -0700, Matt Dew wrote:

> 
> There's no issues with:
> ${DESTDIR}${DATADIR}
> vs:
> ${DESTDIR}/${DATADIR}
> ?
> 
> DESTDIR will always end in '/' right?
> 

All the *DIR variables which are installation directories must be
absolute paths.
This is now checked by the script.

DESTDIR might be $HOME for example. It would be /home/matt/usr/local/bin
for the bin directory.
In the help text we had a '/' for clarity, I suppose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101229/961861d9/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/20101229/961861d9/attachment.pgp>


More information about the xorg-devel mailing list