Change scratch to create directories on ramdisk
This commit is contained in:
parent
9bec530c75
commit
9d686e9a45
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export scratch=$(mktemp -d -t tmp.XXXXXXXXXX)
|
export scratch=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX)
|
||||||
function finish {
|
function finish {
|
||||||
echo "Deleting $scratch..."
|
echo "Deleting $scratch..."
|
||||||
rm -rf "$scratch"
|
rm -rf "$scratch"
|
||||||
|
|
Loading…
Reference in a new issue