From c35660505e4ec0a79a1ca0e5ea88d6e78caa1778 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Thu, 1 Apr 2021 18:20:56 -0500 Subject: Clean up another non-portable shell construct in runtest launcher --- ChangeLog | 5 +++++ runtest | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 91f6d57..19221ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,11 @@ message to better fit GNU conventions, with thanks to Tom Tromey for the reporting this issue. + PR47382 + + * runtest: Remove use of non-portable "if !" that causes problems + with /bin/sh on Solaris 10. + 2021-03-30 Jacob Bachmeyer * configure: Regenerate. diff --git a/runtest b/runtest index b2e0a4c..807a6ae 100755 --- a/runtest +++ b/runtest @@ -152,7 +152,7 @@ if [ -z "$runpath" ] ; then exit 1 fi -if ! command -v "$expectbin" > /dev/null ; then +if command -v "$expectbin" > /dev/null ; then :; else echo "ERROR: unable to find expect in the PATH" exit 1 fi -- cgit v1.1