svn commit: samba r23000 - in branches/SAMBA_3_0_26/source/script/tests: .

metze at samba.org metze at samba.org
Fri May 18 09:56:31 GMT 2007


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

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

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


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



More information about the samba-cvs mailing list