[PATCH xserver 1/2] sdksyms.sh: Exit on error rather than building an empty symbol table

Keith Packard keithp at keithp.com
Fri Jan 13 12:19:06 PST 2012

On Fri, 13 Jan 2012 12:07:01 -0800, Jeremy Huddleston <jeremyhu at apple.com> wrote:

> +${CPP:-cpp} "$@" -DXorgLoader sdksyms.c > /dev/null || exit $?
>  ${CPP:-cpp} "$@" -DXorgLoader sdksyms.c | ${AWK:-awk} -v topdir=$topdir '

Nice hack; just run it twice to avoid needing to manage a temporary file

Reviewed-by: Keith Packard <keithp at keithp.com>

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120113/4fbd5748/attachment.pgp>

More information about the xorg-devel mailing list