diff --git a/bin/scratch b/bin/scratch index c226c7c..2d4cad6 100755 --- a/bin/scratch +++ b/bin/scratch @@ -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"