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/user-envs.builder.sh

This commit is contained in:
Farid Zakaria 2025-09-30 20:23:02 -07:00
parent 049c4c7546
commit 13eac5295d
2 changed files with 8 additions and 6 deletions

View file

@ -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"