mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
shellcheck fix: tests/functional/simple.builder.sh
This commit is contained in:
parent
7266a51412
commit
8c9bfb6e12
2 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,6 @@
|
|||
enable = true;
|
||||
excludes = [
|
||||
# We haven't linted these files yet
|
||||
''^tests/functional/simple\.builder\.sh$''
|
||||
''^tests/functional/supplementary-groups\.sh$''
|
||||
''^tests/functional/toString-path\.sh$''
|
||||
''^tests/functional/user-envs-migration\.sh$''
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@ echo "PATH=$PATH"
|
|||
if mkdir foo 2> /dev/null; then exit 1; fi
|
||||
|
||||
# Set a PATH (!!! impure).
|
||||
# shellcheck disable=SC2154
|
||||
export PATH=$goodPath
|
||||
# shellcheck disable=SC2154
|
||||
mkdir "$out"
|
||||
|
||||
echo "Hello World!" > "$out"/hello
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue