confirmed working change to mktemp command

This commit is contained in:
Spencer Smith 2016-02-18 15:56:10 -05:00
parent 57a1ce28c4
commit 20adb604cc

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