From d7c2eb1be3a0e0c8b523fbdcf406d6bfe987c980 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Jan 2011 16:00:26 +1100 Subject: abi: force TERM=none in abi generation on Fedora12 gdb puts out a bit of binary garbage at the front of script output when TERM=xterm, presumably trying something like a clear screen. luckily it doesn't do it for unknown terminal types Autobuild-User: Andrew Tridgell Autobuild-Date: Tue Jan 11 06:48:56 CET 2011 on sn-devel-104 --- buildtools/scripts/abi_gen.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildtools') diff --git a/buildtools/scripts/abi_gen.sh b/buildtools/scripts/abi_gen.sh index d563fb8533..ed6f445519 100755 --- a/buildtools/scripts/abi_gen.sh +++ b/buildtools/scripts/abi_gen.sh @@ -16,5 +16,6 @@ nm "$SHAREDLIB" | cut -d' ' -f2- | egrep '^[BDGTRVWS]' | grep -v @ | cut -c3- | done ) > $GDBSCRIPT -gdb -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null +# forcing the terminal avoids a problem on Fedora12 +TERM=none gdb -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null rm -f $GDBSCRIPT -- cgit