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/gc-concurrent2.builder.sh

This commit is contained in:
Farid Zakaria 2025-09-29 09:22:45 -07:00
parent 75df03204b
commit 2e5952fb6a
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,8 @@
mkdir $out
echo $(cat $input1/foo)$(cat $input2/bar)xyzzy > $out/foobar
# shellcheck shell=bash
# shellcheck disable=SC2154
mkdir "$out"
# shellcheck disable=SC2154
echo "$(cat "$input1"/foo)""$(cat "$input2"/bar)"xyzzy > "$out"/foobar
# Check that the GC hasn't deleted the lock on our output.
test -e "$out.lock"