From 286a38db91ea2dce1749ab7d1d9ea5ae344a16c1 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 20 Jan 2019 21:03:48 +1100 Subject: [PATCH] This change silences a false positive from Shellcheck: "Redirecting to/from command name instead of file. Did you want pipes/xargs (or quote to ignore)? [SC2238]" * testsuite/config-guess.sh (run_config_guess): For clarity, write uname replacement to './uname', not 'uname'. --- ChangeLog | 5 +++++ testsuite/config-guess.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 613f7bd..0be4ada 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-01-20 Ben Elliston + + * testsuite/config-guess.sh (run_config_guess): For clarity, write + uname replacement to './uname', not 'uname'. + 2019-01-15 Ben Elliston Revert: diff --git a/testsuite/config-guess.sh b/testsuite/config-guess.sh index d3d53f6..42a013d 100644 --- a/testsuite/config-guess.sh +++ b/testsuite/config-guess.sh @@ -20,7 +20,7 @@ run_config_guess() -e "s,@RELEASE@,$release," \ -e "s,@SYSTEM@,$system," \ -e "s,@VERSION@,$version," \ - -e "s,@PROCESSOR@,$processor," > uname << EOF + -e "s,@PROCESSOR@,$processor," > ./uname << EOF #!/bin/sh [ \$# -ne 1 ] && exec sh \$0 -s [ \$1 = -m ] && echo "@MACHINE@" && exit 0