1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

shellcheck fix: tests/functional/selfref-gc.sh

This commit is contained in:
Farid Zakaria 2025-09-30 20:08:27 -07:00
parent b8f1a8a0c1
commit 7266a51412
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,6 @@
enable = true;
excludes = [
# We haven't linted these files yet
''^tests/functional/shell\.shebang\.sh$''
''^tests/functional/simple\.builder\.sh$''
''^tests/functional/supplementary-groups\.sh$''
''^tests/functional/toString-path\.sh$''

View file

@ -1,4 +1,5 @@
#! @ENV_PROG@ nix-shell
#! nix-shell -I nixpkgs=shell.nix --no-substitute
#! nix-shell --pure -i bash -p foo bar
echo "$(foo) $(bar) $@"
# shellcheck shell=bash
echo "$(foo) $(bar)" "$@"