From b7efb630f66f0723a1f06c0e9178fa7c03bfec7b Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Fri, 12 Sep 2003 11:20:32 -0700 Subject: [regress/agent-ptrace.sh] sh doesn't like "if ! shell_function; then". --- regress/agent-ptrace.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'regress') diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh index b9d86a29d..cd9c0023d 100644 --- a/regress/agent-ptrace.sh +++ b/regress/agent-ptrace.sh @@ -12,7 +12,9 @@ if have_prog uname ; then esac fi -if ! have_prog gdb ; then +if have_prog gdb ; then + : ok +else echo "skipped (gdb not found)" exit 0 fi -- cgit v1.2.3