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

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

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_25/source/script/tests/gdb_backtrace


Changeset:
Modified: branches/SAMBA_3_0_25/source/script/tests/gdb_backtrace
===================================================================
--- branches/SAMBA_3_0_25/source/script/tests/gdb_backtrace     2007-05-18 
09:50:56 UTC (rev 22998)
+++ branches/SAMBA_3_0_25/source/script/tests/gdb_backtrace     2007-05-18 
09:56:03 UTC (rev 22999)
@@ -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