From 2387fb23858d645f15061bc7bcbe4654386ba116 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 13 Jan 2012 12:00:14 -0800 Subject: [PATCH] sdksyms.sh: Exit on error rather than building an empty symbol table Signed-off-by: Jeremy Huddleston Reviewed-by: Keith Packard --- hw/xfree86/sdksyms.sh | 1 + 1 file changed, 1 insertion(+) 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;