summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2023-09-15 00:09:34 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2023-09-21 00:21:01 +0200
commit45bf2c7617afd7ac794fb56519301e1ee3324c08 (patch)
treec6ecd383f5cb84e6377acbb8f91ed985405fcd6f /lib
parente05cf47184441438c7527b0f2986fa4a89cc86e0 (diff)
downloadnixpkgs-45bf2c7617afd7ac794fb56519301e1ee3324c08.tar
nixpkgs-45bf2c7617afd7ac794fb56519301e1ee3324c08.tar.gz
nixpkgs-45bf2c7617afd7ac794fb56519301e1ee3324c08.tar.bz2
nixpkgs-45bf2c7617afd7ac794fb56519301e1ee3324c08.tar.lz
nixpkgs-45bf2c7617afd7ac794fb56519301e1ee3324c08.tar.xz
nixpkgs-45bf2c7617afd7ac794fb56519301e1ee3324c08.tar.zst
nixpkgs-45bf2c7617afd7ac794fb56519301e1ee3324c08.zip
lib.fileset: Ignore irrelevant shellcheck warnings
Diffstat (limited to 'lib')
-rwxr-xr-xlib/fileset/benchmark.sh1
-rwxr-xr-xlib/fileset/tests.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/fileset/benchmark.sh b/lib/fileset/benchmark.sh
index ee861ad3c38..59ddb6d49af 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 1a8f1372ebf..ce936a9b022 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