mkdir -p in doc generation

This commit is contained in:
Tim Hockin
2015-05-12 22:51:57 -07:00
parent d0b2a418db
commit 8e7970f2a1

View File

@@ -130,7 +130,7 @@ kube::util::gen-doc() {
# We do this in a tmpdir in case the dest has other non-autogenned files # We do this in a tmpdir in case the dest has other non-autogenned files
# We don't want to include them in the list of gen'd files # We don't want to include them in the list of gen'd files
local tmpdir="${KUBE_ROOT}/doc_tmp" local tmpdir="${KUBE_ROOT}/doc_tmp"
mkdir "${tmpdir}" mkdir -p "${tmpdir}"
# generate the new files # generate the new files
${cmd} "${tmpdir}" ${cmd} "${tmpdir}"
# create the list of generated files # create the list of generated files