mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00
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'.
This commit is contained in:
parent
2221f7d58e
commit
286a38db91
@ -1,3 +1,8 @@
|
||||
2019-01-20 Ben Elliston <bje@gnu.org>
|
||||
|
||||
* testsuite/config-guess.sh (run_config_guess): For clarity, write
|
||||
uname replacement to './uname', not 'uname'.
|
||||
|
||||
2019-01-15 Ben Elliston <bje@gnu.org>
|
||||
|
||||
Revert:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user