Merge pull request #152 from rsmitty/issue-151

confirmed working change to mktemp command
pull/153/head
Antoine Legrand 2016-02-18 22:12:38 +01:00
commit ec64eda2bc
1 changed files with 1 additions and 1 deletions

View File

@ -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}"