Author: metze
Date: 2007-05-18 09:50:56 +0000 (Fri, 18 May 2007)
New Revision: 22998

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22998

Log:
merge from SAMBA_4_0:

only if the output of which has a leading '/' the output is useful...

metze
Modified:
   branches/SAMBA_3_0/source/script/tests/gdb_backtrace


Changeset:
Modified: branches/SAMBA_3_0/source/script/tests/gdb_backtrace
===================================================================
--- branches/SAMBA_3_0/source/script/tests/gdb_backtrace        2007-05-18 
09:47:53 UTC (rev 22997)
+++ branches/SAMBA_3_0/source/script/tests/gdb_backtrace        2007-05-18 
09:50:56 UTC (rev 22998)
@@ -33,7 +33,7 @@
 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
        }

Reply via email to