Merge pull request #152 from rsmitty/issue-151
confirmed working change to mktemp command
This commit is contained in:
commit
ec64eda2bc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ if [ -z ${SSLDIR} ]; then
|
|||
SSLDIR="/etc/kubernetes/certs"
|
||||
fi
|
||||
|
||||
tmpdir=$(mktemp -d --tmpdir kubernetes_cacert.XXXXXX)
|
||||
tmpdir=$(mktemp -d /tmp/kubernetes_cacert.XXXXXX)
|
||||
trap 'rm -rf "${tmpdir}"' EXIT
|
||||
cd "${tmpdir}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue