Change scratch to create directories on ramdisk

This commit is contained in:
Talia 2019-09-12 14:31:27 +02:00
parent 9bec530c75
commit 9d686e9a45

View file

@ -1,5 +1,5 @@
#!/bin/bash
export scratch=$(mktemp -d -t tmp.XXXXXXXXXX)
export scratch=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX)
function finish {
echo "Deleting $scratch..."
rm -rf "$scratch"