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;
|
enable = true;
|
||||||
excludes = [
|
excludes = [
|
||||||
# We haven't linted these files yet
|
# We haven't linted these files yet
|
||||||
''^tests/functional/user-envs\.builder\.sh$''
|
|
||||||
''^tests/functional/user-envs\.sh$''
|
''^tests/functional/user-envs\.sh$''
|
||||||
''^tests/functional/why-depends\.sh$''
|
''^tests/functional/why-depends\.sh$''
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
mkdir $out
|
# shellcheck shell=bash
|
||||||
mkdir $out/bin
|
# shellcheck disable=SC2154
|
||||||
echo "#! $shell" > $out/bin/$progName
|
mkdir "$out"
|
||||||
echo "echo $name" >> $out/bin/$progName
|
mkdir "$out"/bin
|
||||||
chmod +x $out/bin/$progName
|
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