From e9b27a34e35500b9da94ccdf7872d6956bd93566 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 18 May 2007 09:50:56 +0000 Subject: 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) --- source3/script/tests/gdb_backtrace | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/script') diff --git a/source3/script/tests/gdb_backtrace b/source3/script/tests/gdb_backtrace index b19a5b2f4b..826381e900 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 } -- cgit