mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-06 20:38:22 +00:00
Use 6 X with mktemp to make it work on some platforms and update all tools.
This commit is contained in:
@@ -425,7 +425,7 @@ mk_tmpdir() {
|
||||
else
|
||||
local tool="${0##*/}"
|
||||
local pid="$$"
|
||||
TMPDIR=`mktemp -d /tmp/${tool}.${pid}.XXXXX` \
|
||||
TMPDIR=`mktemp -d /tmp/${tool}.${pid}.XXXXXX` \
|
||||
|| die "Cannot make secure tmpdir"
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user