Browse Source

* runtest: Use POSIX 'command', not 'type', to look for the Expect

binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
	is undefined").
dejagnu-1.6.2
Ben Elliston 8 years ago
parent
commit
366485ce63
  1. 6
      ChangeLog
  2. 2
      runtest

6
ChangeLog

@ -1,3 +1,9 @@
2018-07-19 Ben Elliston <bje@gnu.org>
* runtest: Use POSIX 'command', not 'type', to look for the Expect
binary. Silences Shellcheck warning SC2039 ("In POSIX sh, 'type'
is undefined").
2018-07-19 Ben Elliston <bje@gnu.org>
* config.guess: Update to latest version.

2
runtest

@ -139,7 +139,7 @@ if [ -z "$runpath" ] ; then
exit 1
fi
if ! type "$expectbin" > /dev/null 2> /dev/null ; then
if ! command -v "$expectbin" > /dev/null ; then
echo "ERROR: unable to find expect in the PATH"
exit 1
fi

Loading…
Cancel
Save