sdksyms.sh: Exit on error rather than building an empty symbol table

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Jeremy Huddleston 2012-01-13 12:00:14 -08:00
parent cd89482088
commit 2387fb2385

View File

@ -324,6 +324,7 @@ topdir=$1
shift
LC_ALL=C
export LC_ALL
${CPP:-cpp} "$@" -DXorgLoader sdksyms.c > /dev/null || exit $?
${CPP:-cpp} "$@" -DXorgLoader sdksyms.c | ${AWK:-awk} -v topdir=$topdir '
BEGIN {
sdk = 0;