From c25f331cf9370a461487bf99cb661aa0148e078e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 2 Oct 2006 12:24:51 +0000 Subject: r19040: use more portable shellscripting, hopefully give better results on Tru64 metze (This used to be commit e8dd73f79656d9ef6faf9fceb84dc8702ac8e10a) --- source3/script/tests/gdb_backtrace | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/script/tests/gdb_backtrace') diff --git a/source3/script/tests/gdb_backtrace b/source3/script/tests/gdb_backtrace index 2ea6a4d00a..2a5ed1f04d 100755 --- a/source3/script/tests/gdb_backtrace +++ b/source3/script/tests/gdb_backtrace @@ -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 -- cgit