chore: improved mutate script so we don't end up with hunders of GBs of gremlins cache after a few slices

This commit is contained in:
fsylvain committed 2026-10-10 00:23:39 +02:00
1 parent c484d5bd12
commit e8dff6bb5f
1 file changed
+3 -1
+3 -1
View File
@@ -2,7 +2,9 @@
set -euo pipefail
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
work="$(mktemp -d)"
work="$root/tmp/mutate-work"
rm -rf "$work"
mkdir -p "$work"
trap 'rm -rf "$work"' EXIT
trap 'echo "mutate: interrupted" >&2; exit 130' INT TERM