Jan Sarenik
9f519afc5d
tools/check-includes.sh: shellcheck recommended fixes
$ shellcheck --version
ShellCheck - shell script analysis tool
version: 0.5.0
license: GNU General Public License, version 3
website: https://www.shellcheck.net
$ make check-source
...
In tools/check-includes.sh line 14:
if [[ $(grep -cE "^#((ifndef|define) ${HEADER_ID}|endif /\* ${HEADER_ID} \*/)$" "${HEADER_FILE}") != 3 ]]; then
^-- SC1117: Backslash is literal in "\*". Prefer explicit escaping: "\\*".
In tools/check-includes.sh line 28:
git ls-files | grep -v 'ccan/' | grep -E "\.${1}"'$'
^-- SC1117: Backslash is literal in "\.". Prefer explicit escaping: "\\.".
2018-07-04 01:48:21 +00:00
..
2018-04-27 14:02:59 +02:00
2018-07-04 01:48:21 +00:00
2018-06-21 14:00:23 +02:00
2018-04-06 14:26:53 +02:00
2018-04-27 14:02:59 +02:00
2018-04-06 14:26:53 +02:00
2018-06-27 13:40:02 +02:00
2018-07-01 14:55:29 +02:00
2018-04-04 15:06:30 +02:00
2018-06-08 17:56:01 +02:00
2018-04-04 15:06:30 +02:00
2018-04-06 14:26:53 +02:00