Merge pull request #152 from rsmitty/issue-151

confirmed working change to mktemp command
This commit is contained in:
Antoine Legrand 2016-02-18 22:12:38 +01:00
commit ec64eda2bc

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