From 8e7970f2a11dde693d49e8e0eac49cb945f52740 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 12 May 2015 22:51:57 -0700 Subject: [PATCH] mkdir -p in doc generation --- hack/lib/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/lib/util.sh b/hack/lib/util.sh index f4851d409f0..5bf95b43039 100644 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -130,7 +130,7 @@ kube::util::gen-doc() { # 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 local tmpdir="${KUBE_ROOT}/doc_tmp" - mkdir "${tmpdir}" + mkdir -p "${tmpdir}" # generate the new files ${cmd} "${tmpdir}" # create the list of generated files