1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

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
This commit is contained in:
Andrew Tridgell 2011-01-11 16:00:26 +11:00
parent 3ed4be0642
commit d7c2eb1be3

View File

@ -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