From 45bf2c7617afd7ac794fb56519301e1ee3324c08 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Fri, 15 Sep 2023 00:09:34 +0200 Subject: lib.fileset: Ignore irrelevant shellcheck warnings --- lib/fileset/benchmark.sh | 1 + lib/fileset/tests.sh | 2 ++ 2 files changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/fileset/benchmark.sh b/lib/fileset/benchmark.sh index ee861ad3c382c..59ddb6d49af79 100755 --- a/lib/fileset/benchmark.sh +++ b/lib/fileset/benchmark.sh @@ -1,5 +1,6 @@ #!/usr/bin/env nix-shell #!nix-shell -i bash -p sta jq bc nix -I nixpkgs=../.. +# shellcheck disable=SC2016 # Benchmarks lib.fileset # Run: diff --git a/lib/fileset/tests.sh b/lib/fileset/tests.sh index 1a8f1372ebfa0..ce936a9b02261 100755 --- a/lib/fileset/tests.sh +++ b/lib/fileset/tests.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# shellcheck disable=SC2016 # Tests lib.fileset # Run: @@ -178,6 +179,7 @@ checkFileset() ( } # This will trigger when this subshell exits, no matter if successful or not # After exiting the subshell, the parent shell will continue executing + # shellcheck disable=SC2154 trap 'kill "${watcher_PID}"' exit # Synchronously wait until inotifywait is ready -- cgit 1.4.1