15 Nov
2022
15 Nov
'22
10:56 a.m.
I didn't realise that bash's ** feature (which matches any depth of directories) wasn't enabled by default, because it appeared to work, just didn't find all scripts. Signed-off-by: Alyssa Ross <alyssa.ross@unikie.com> Fixes: 169fdd6 ("release.nix: run shellcheck on build scripts") --- nix/checks.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/checks.nix b/nix/checks.nix index 9eb261f..b2af72a 100644 --- a/nix/checks.nix +++ b/nix/checks.nix @@ -17,6 +17,7 @@ nativeBuildInputs = [ shellcheck ]; } '' + shopt -s globstar shellcheck $src/**/*.sh touch $out '' -- 2.35.1