From 8de5d272823855dd8d81fee50418f4ebf7e79ed9 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Thu, 2 Aug 2018 19:42:42 +1000 Subject: [PATCH] * config.guess: Fix SC2234 diagnostic from Shellcheck ("Remove superfluous (..) around test command". Also remove redirection as test(1) should never produce any output. --- ChangeLog | 6 ++++++ config.guess | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f606e2d..ed7b767 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-08-02 Ben Elliston + + * 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 * Makefile (check-guess, check-sub): Run tests under bash. diff --git a/config.guess b/config.guess index ba6af63..d4fb321 100755 --- a/config.guess +++ b/config.guess @@ -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