From: Stefan Metzmacher Date: Fri, 18 May 2007 09:50:56 +0000 (+0000) Subject: r22998: merge from SAMBA_4_0: X-Git-Tag: samba-4.0.0alpha6~801^2~5837 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9b27a34e35500b9da94ccdf7872d6956bd93566;p=thirdparty%2Fsamba.git r22998: merge from SAMBA_4_0: only if the output of which has a leading '/' the output is useful... metze (This used to be commit 5c5aa1f862ad5e765b18c8dbc981af3012b48cb7) --- diff --git a/source3/script/tests/gdb_backtrace b/source3/script/tests/gdb_backtrace index b19a5b2f4b7..826381e9008 100755 --- a/source3/script/tests/gdb_backtrace +++ b/source3/script/tests/gdb_backtrace @@ -33,7 +33,7 @@ case "${UNAME}" in esac for DB in ${DB_LIST}; do - DB_BIN=`which ${DB} 2>/dev/null` + DB_BIN=`which ${DB} 2>/dev/null | grep '^/'` test x"${DB_BIN}" != x"" && { break }