mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-17 01:01:39 +08:00
Use 6 X with mktemp to make it work on some platforms and update all tools.
This commit is contained in:
@@ -445,7 +445,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