From 95d8143b35913fc34bb6c92f7c36f2e155c53049 Mon Sep 17 00:00:00 2001 From: Joshua Brindle Date: Thu, 24 Sep 2009 13:46:12 -0400 Subject: [PATCH] This updates commit 66d07600075d53735197520e4a5bbe6796a89d25 This seems to work better on my system (aux-info on temp.c didn't do anything) --- libselinux/src/exception.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) mode change 100644 => 100755 libselinux/src/exception.sh diff --git a/libselinux/src/exception.sh b/libselinux/src/exception.sh old mode 100644 new mode 100755 index b2a37994..c3e61a58 --- a/libselinux/src/exception.sh +++ b/libselinux/src/exception.sh @@ -15,7 +15,6 @@ echo " ;; esac } -echo '#include "../include/selinux/selinux.h"' > temp.c -gcc -c temp.c -aux-info temp.aux -for i in `awk '/..\/include\/selinux\/selinux.h.*extern int/ { print $6 }' temp.aux`; do except $i ; done -rm -f temp.c temp.aux temp.o +gcc -x c -c - -aux-info temp.aux < ../include/selinux/selinux.h +for i in `awk '/.*extern int/ { print $6 }' temp.aux`; do except $i ; done +rm -f -- temp.aux -.o