mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
lib.fileset: Ignore irrelevant shellcheck warnings
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#!nix-shell -i bash -p sta jq bc nix -I nixpkgs=../..
|
#!nix-shell -i bash -p sta jq bc nix -I nixpkgs=../..
|
||||||
|
# shellcheck disable=SC2016
|
||||||
|
|
||||||
# Benchmarks lib.fileset
|
# Benchmarks lib.fileset
|
||||||
# Run:
|
# Run:
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# shellcheck disable=SC2016
|
||||||
|
|
||||||
# Tests lib.fileset
|
# Tests lib.fileset
|
||||||
# Run:
|
# Run:
|
||||||
@@ -178,6 +179,7 @@ checkFileset() (
|
|||||||
}
|
}
|
||||||
# This will trigger when this subshell exits, no matter if successful or not
|
# This will trigger when this subshell exits, no matter if successful or not
|
||||||
# After exiting the subshell, the parent shell will continue executing
|
# After exiting the subshell, the parent shell will continue executing
|
||||||
|
# shellcheck disable=SC2154
|
||||||
trap 'kill "${watcher_PID}"' exit
|
trap 'kill "${watcher_PID}"' exit
|
||||||
|
|
||||||
# Synchronously wait until inotifywait is ready
|
# Synchronously wait until inotifywait is ready
|
||||||
|
|||||||
Reference in New Issue
Block a user