1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 11:43:15 +02:00
nix/tests/locking.builder.sh
2005-09-13 14:07:22 +00:00

18 lines
No EOL
243 B
Bash

export PATH=/bin:/usr/bin:$PATH
env
sleep 3
touch $out
echo CAT1
cat $inputs
echo CAT2
echo -n $(cat $inputs)$text
echo CAT3
# Use `>>'; without proper locking this will cause text duplication.
echo -n $(cat $inputs)$text >> $out
sleep 2