* config.guess: Fix SC2234 diagnostic from Shellcheck ("Remove

superfluous (..) around test command". Also remove redirection as
	test(1) should never produce any output.
This commit is contained in:
Ben Elliston 2018-08-02 19:42:42 +10:00
parent 05049e403e
commit 8de5d27282
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2018-08-02 Ben Elliston <bje@gnu.org>
* config.guess: Fix SC2234 diagnostic from Shellcheck ("Remove
superfluous (..) around test command". Also remove redirection as
test(1) should never produce any output.
2018-07-30 Ben Elliston <bje@gnu.org>
* Makefile (check-guess, check-sub): Run tests under bash.

4
config.guess vendored
View File

@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2018 Free Software Foundation, Inc.
timestamp='2018-07-18'
timestamp='2018-08-02'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -126,7 +126,7 @@ set_cc_for_build() {
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 1994-08-24)
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
if test -f /.attbin/uname ; then
PATH=$PATH:/.attbin ; export PATH
fi