From: Douglas Bagnall Date: Wed, 30 Jan 2019 04:58:11 +0000 (+1300) Subject: abi_gen.sh: ignore gdb customisations when comparing signatures X-Git-Tag: ldb-1.6.1~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f4fb615d6738abd38f129882a3c40fdab8d3d3;p=thirdparty%2Fsamba.git abi_gen.sh: ignore gdb customisations when comparing signatures If a .gdbinit file says "set print pretty on", the signatures are printed over several lines, and the abi_check fails. So let's ignore .gdbinit files. Signed-off-by: Douglas Bagnall Reviewed-by: David Disseldorp Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Sat Feb 2 20:19:05 CET 2019 on sn-devel-144 --- diff --git a/buildtools/scripts/abi_gen.sh b/buildtools/scripts/abi_gen.sh index 787718cb204..6dd6d321f77 100755 --- a/buildtools/scripts/abi_gen.sh +++ b/buildtools/scripts/abi_gen.sh @@ -17,5 +17,5 @@ done ) > $GDBSCRIPT # forcing the terminal avoids a problem on Fedora12 -TERM=none gdb -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null +TERM=none gdb -n -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null rm -f $GDBSCRIPT