diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2012-01-13 12:00:14 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2012-01-15 02:28:07 -0800 |
commit | 2387fb23858d645f15061bc7bcbe4654386ba116 (patch) | |
tree | b0e55bc14cee038764a0fcab06437d571072ba41 | |
parent | cd89482088f71ed517c2e88ed437e4752070c3f4 (diff) |
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>
-rwxr-xr-x | hw/xfree86/sdksyms.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh index 4a4e1f64d..9034f3829 100755 --- a/hw/xfree86/sdksyms.sh +++ b/hw/xfree86/sdksyms.sh @@ -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; |