mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
shellcheck fix: tests/functional/user-envs.builder.sh
This commit is contained in:
parent
049c4c7546
commit
13eac5295d
2 changed files with 8 additions and 6 deletions
|
|
@ -106,7 +106,6 @@
|
|||
enable = true;
|
||||
excludes = [
|
||||
# We haven't linted these files yet
|
||||
''^tests/functional/user-envs\.builder\.sh$''
|
||||
''^tests/functional/user-envs\.sh$''
|
||||
''^tests/functional/why-depends\.sh$''
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
mkdir $out
|
||||
mkdir $out/bin
|
||||
echo "#! $shell" > $out/bin/$progName
|
||||
echo "echo $name" >> $out/bin/$progName
|
||||
chmod +x $out/bin/$progName
|
||||
# shellcheck shell=bash
|
||||
# shellcheck disable=SC2154
|
||||
mkdir "$out"
|
||||
mkdir "$out"/bin
|
||||
echo "#! $shell" > "$out"/bin/"$progName"
|
||||
# shellcheck disable=SC2154
|
||||
echo "echo $name" >> "$out"/bin/"$progName"
|
||||
chmod +x "$out"/bin/"$progName"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue