mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
r19040: use more portable shellscripting, hopefully give better results on Tru64
metze
(This used to be commit e8dd73f796
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
ac080e3184
commit
c25f331cf9
@ -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
|
||||
|
Reference in New Issue
Block a user