[PATCH util/modular] release.sh: Simplify checks for ACLOCAL, PKG_CONFIG_PATH, etc.
Mikhail Gusarov
dottedmag at dottedmag.net
Wed May 12 16:13:27 PDT 2010
Twas brillig at 16:08:14 12.05.2010 UTC-07 when alan.coopersmith at oracle.com did gyre and gimble:
AC> In many of the : separated environment variables, especially $PATH
AC> & $LD_LIBRARY_PATH, any sequence that resolves to an empty string
AC> after : splitting may be resolved as the current directory on many
AC> platforms, so the simplified code you propose is actually equivalent to:
AC> if test x"$PATH" = x; then
AC> PATH=${DESTDIR}${PREFIX}/bin:.
AC> else
AC> PATH=${DESTDIR}${PREFIX}/bin:${PATH}
AC> fi
PATH=${DESTDIR}${PREFIX}/bin${PATH:+:}${PATH}
should probably do it
--
http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100513/2c6589a8/attachment.pgp>
More information about the xorg-devel
mailing list