From 094695c4c07d74d602d0adc4ca6439d040023ea7 Mon Sep 17 00:00:00 2001 From: Yury Kanetski Date: Thu, 14 Apr 2022 11:52:36 +0200 Subject: [PATCH] publish_api_docs_android.sh fix: create parent folders if needed (#1404) --- scripts/publish_api_docs_android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish_api_docs_android.sh b/scripts/publish_api_docs_android.sh index 7efc3242e..64a7633b6 100755 --- a/scripts/publish_api_docs_android.sh +++ b/scripts/publish_api_docs_android.sh @@ -91,7 +91,7 @@ copyDocumentsToDocsFolders() { for fullPath in `find $GENERATED_DOCS_FOLDER -type d -maxdepth 1 -mindepth 1 | grep $DOCS_PREFIX` ; do docsDirectory=`basename $fullPath` targetDirectory=$PATH_TO_REPO/$docsDirectory/$VERSION_NUMBER - mkdir $targetDirectory + mkdir -p $targetDirectory cp -r $fullPath/javadoc/. $targetDirectory done }