From: Stefan Metzmacher Date: Fri, 18 May 2007 09:50:56 +0000 (+0000) Subject: r22998: merge from SAMBA_4_0: X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~412 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c5aa1f862ad5e765b18c8dbc981af3012b48cb7;p=thirdparty%2Fsamba.git r22998: merge from SAMBA_4_0: only if the output of which has a leading '/' the output is useful... metze --- diff --git a/source/script/tests/gdb_backtrace b/source/script/tests/gdb_backtrace index b19a5b2f4b7..826381e9008 100755 --- a/source/script/tests/gdb_backtrace +++ b/source/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 }