svn commit: samba r22997 - in branches/SAMBA_4_0/source/script: .

metze at samba.org metze at samba.org
Fri May 18 09:47:53 GMT 2007


Author: metze
Date: 2007-05-18 09:47:53 +0000 (Fri, 18 May 2007)
New Revision: 22997

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

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

metze
Modified:
   branches/SAMBA_4_0/source/script/gdb_backtrace


Changeset:
Modified: branches/SAMBA_4_0/source/script/gdb_backtrace
===================================================================
--- branches/SAMBA_4_0/source/script/gdb_backtrace	2007-05-18 09:20:11 UTC (rev 22996)
+++ branches/SAMBA_4_0/source/script/gdb_backtrace	2007-05-18 09:47:53 UTC (rev 22997)
@@ -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