mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 22:50:25 +00:00
Export TMPDIR to make tmpdir.t pass.
This commit is contained in:
@@ -45,8 +45,7 @@ mk_tmpdir() {
|
||||
else
|
||||
local tool="${0##*/}"
|
||||
local pid="$$"
|
||||
local x="$TMPDIR"
|
||||
TMPDIR=`TMPDIR="$x" mktemp -d -t "${tool}.${pid}.XXXXXX"` \
|
||||
TMPDIR=`mktemp -d -t "${tool}.${pid}.XXXXXX"` \
|
||||
|| die "Cannot make secure tmpdir"
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user