mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-14 12:42:57 +02:00
And make errors gcc-style, so emacs can jump through the automatically.
```
In devtools/reduce-includes.sh line 21:
echo -n "-$LINE"
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In devtools/reduce-includes.sh line 25:
echo -n "."
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In tools/rel.sh line 6:
prefix=$(printf '%s\n' "${from#$common}" | sed 's@[^/][^/]*@..@g')
^-----^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.
Did you mean:
prefix=$(printf '%s\n' "${from#"$common"}" | sed 's@[^/][^/]*@..@g')
In tools/rel.sh line 7:
printf '%s\n' "$prefix/${to#$common}"
^-----^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.
Did you mean:
printf '%s\n' "$prefix/${to#"$common"}"
For more information:
https://www.shellcheck.net/wiki/SC3037 -- In POSIX sh, echo flags are undef...
https://www.shellcheck.net/wiki/SC2295 -- Expansions inside ${..} need to b...
make: *** [Makefile:553: check-shellcheck] Error 123
```
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| bolt-catchup.sh | ||
| bolt11-cli.c | ||
| bolt12-cli.c | ||
| changelog.py | ||
| checkchannels.c | ||
| clean_topo.c | ||
| clean_topo.h | ||
| create-gossipstore.c | ||
| credit | ||
| decode-iolog | ||
| decodemsg.c | ||
| dump-gossipstore.c | ||
| encodeaddr.c | ||
| features.c | ||
| fp16.c | ||
| gossipwith.c | ||
| lightning-checkmessage.c | ||
| Makefile | ||
| mkclose.c | ||
| mkcommit.c | ||
| mkencoded.c | ||
| mkfunding.c | ||
| mkgossip.c | ||
| mkquery.c | ||
| onion.c | ||
| print_wire.c | ||
| print_wire.h | ||
| reduce-includes.sh | ||
| route.c | ||
| rune.c | ||
| sql-rewrite.py | ||
| taldump-analyze.py | ||
| topology.c | ||
| unused-functions.sh | ||