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

Signed-off-by: Roland Hieber <roh...@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

Reply via email to