mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] create_docs: create srcdir recursively
@ 2016-11-04 22:35 Roland Hieber
  0 siblings, 0 replies; only message in thread
From: Roland Hieber @ 2016-11-04 22:35 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

This allows to build the documentation on a fresh tree when
platform-dir/ does not exist yet

Signed-off-by: Roland Hieber <rohieb@rohieb.name>
---
 bin/ptxdist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/ptxdist b/bin/ptxdist
index 1afd6b0..633b599 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -1222,7 +1222,7 @@ create_docs() {
 		ptxd_source_kconfig "${PTXDIST_PLATFORMCONFIG}"
 	fi &&
 
-	mkdir "${srcdir}" &&
+	mkdir -p "${srcdir}" &&
 	ptxd_in_path PTXDIST_PATH doc &&
 	for dir in "${ptxd_reply[@]}"; do
 		for entry in $(cd "${dir}"; ls); do
-- 
2.9.3


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-04 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-04 22:35 [ptxdist] [PATCH] create_docs: create srcdir recursively Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox