svn commit: samba r19040 - in branches/SAMBA_3_0/source/script/tests: .

metze at samba.org metze at samba.org
Mon Oct 2 12:24:51 GMT 2006


Author: metze
Date: 2006-10-02 12:24:51 +0000 (Mon, 02 Oct 2006)
New Revision: 19040

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

Log:
use more portable shellscripting, hopefully give better results on Tru64

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	2006-10-02 12:06:49 UTC (rev 19039)
+++ branches/SAMBA_3_0/source/script/tests/gdb_backtrace	2006-10-02 12:24:51 UTC (rev 19040)
@@ -5,9 +5,9 @@
 # we want everything on stderr, so the program is not disturbed
 exec 1>&2
 
-BASENAME=$( basename $0)
+BASENAME=`basename $0`
 
-test -z ${GDB_BIN} && GDB_BIN=$( type -p gdb)
+test -z ${GDB_BIN} && GDB_BIN=`type -p gdb`
 if [ -z ${GDB_BIN} ]; then
 	echo "ERROR: ${BASENAME} needs an installed gdb. "
 	exit 1



More information about the samba-cvs mailing list