summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-02 12:24:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:05 -0500
commitc25f331cf9370a461487bf99cb661aa0148e078e (patch)
treebe6f9df4a1f3dbb33aef83600d7f4af96fe28090 /source3
parentac080e3184abcc177f9f8e8bf2f3537739b9e8ad (diff)
downloadsamba-c25f331cf9370a461487bf99cb661aa0148e078e.tar.gz
samba-c25f331cf9370a461487bf99cb661aa0148e078e.tar.bz2
samba-c25f331cf9370a461487bf99cb661aa0148e078e.zip
r19040: use more portable shellscripting, hopefully give better results on Tru64
metze (This used to be commit e8dd73f79656d9ef6faf9fceb84dc8702ac8e10a)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/script/tests/gdb_backtrace4
1 files changed, 2 insertions, 2 deletions
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