* config.guess (set_cc_for_build): Disable SC2039 ("In POSIX sh,

RANDOM is undefined").
	* Makefile (shellcheck): Don't disable SC2039 globally.
This commit is contained in:
Ben Elliston
2018-07-13 21:43:28 +10:00
parent a4b36a6939
commit 09da403c82
3 changed files with 8 additions and 1 deletions

View File

@ -17,4 +17,4 @@ check-sub:
cd testsuite && sh config-sub.sh
shellcheck:
shellcheck -e SC2006,SC2039 -f gcc config.guess config.sub testsuite/*.sh
shellcheck -e SC2006 -f gcc config.guess config.sub testsuite/*.sh