core-lightning/tools
Rusty Russell 2e4a58efac check: fix warnings from shellcheck 0.8.0
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>
2022-11-09 15:08:03 +01:00
..
gen tools/gen: Always return bool! 2022-07-14 12:24:48 -05:00
test tools/test: fix very confused code. 2022-09-12 14:00:41 +02:00
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
bench-gossipd.sh gossipd: remove unnecessary dev_unknown_channel_satoshis arg. 2019-05-22 11:28:44 +00:00
build-release.sh build-release: configure before submodcheck 2022-09-22 11:36:10 +02:00
check-bolt.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
check-includes.sh tools/check-includes.sh: make shellcheck happy. 2021-12-06 10:05:39 +10:30
check-manpage.sh doc: format markdown correctly. 2022-09-08 00:36:51 +03:00
check-markdown.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-setup_locale.sh setup: add setup to make checks 2020-05-19 13:35:42 +09:30
check-spelling.sh pytest: Add a new RPC interface to talk to grpc 2022-07-21 14:19:06 +09:30
docker-entrypoint.sh docker: Update name from c-lightning to Core-Lightning 2022-05-14 11:43:46 +09:30
fromschema.py doc: escape output types (esp short_channel_id). 2022-09-12 14:00:41 +02:00
generate-wire.py common: update to latest onion message spec. 2022-10-26 11:29:06 +10:30
headerversions.c db: Ensure sqlite3 library minimum version and major version match 2021-10-12 09:15:48 +10:30
hsmtool.c hsmtool: remove hsm_secret passwords on cmdline support in dumponchaindescriptors. 2022-09-12 09:34:52 +09:30
Makefile Makefile: use a library archive for CCAN 2022-07-17 08:51:02 +09:30
md2man.sh external: build lowdown if not already found. 2022-09-08 00:36:51 +03:00
mockup.sh update-mocks: handle missing deprecated_apis. 2022-07-09 09:59:52 +09:30
reckless reckless: fix git clone issue with removed dir 2022-11-08 13:19:36 +01:00
refresh-submodules.sh make: have git submodule update be recursive 2020-12-11 13:20:54 +01:00
rel.sh check: fix warnings from shellcheck 0.8.0 2022-11-09 15:08:03 +01:00
repro-build.sh repro: Update ubuntu jammy reprobuild 2022-07-21 15:21:12 -05:00
update-mocks.sh update-mocks: prefer to find function defs from local includes. 2021-05-22 17:53:04 +09:30