1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

Allow useless cat.

This commit is contained in:
Graham Christensen 2025-04-27 17:08:48 -04:00
parent 81350e1ffc
commit ce1cca8ebd

View file

@ -1,5 +1,10 @@
#!/bin/sh #!/bin/sh
# SC2002 disables "useless cat" warnings.
# I prefer pipelines that start with an explicit input, and go from there.
# Overly fussy.
# shellcheck disable=SC2002
scratch=$(mktemp -d -t tmp.XXXXXXXXXX) scratch=$(mktemp -d -t tmp.XXXXXXXXXX)
finish() { finish() {
rm -rf "$scratch" rm -rf "$scratch"