diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-01-11 16:00:26 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-01-11 06:48:56 +0100 |
commit | d7c2eb1be3a0e0c8b523fbdcf406d6bfe987c980 (patch) | |
tree | 4ea0d1a33b9dbc726b539d38517150110c475c06 | |
parent | 3ed4be0642531e0b09bb14fd0404c2cc0ece1949 (diff) | |
download | samba-d7c2eb1be3a0e0c8b523fbdcf406d6bfe987c980.tar.gz samba-d7c2eb1be3a0e0c8b523fbdcf406d6bfe987c980.tar.bz2 samba-d7c2eb1be3a0e0c8b523fbdcf406d6bfe987c980.zip |
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 <tridge@samba.org>
Autobuild-Date: Tue Jan 11 06:48:56 CET 2011 on sn-devel-104
-rwxr-xr-x | buildtools/scripts/abi_gen.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |