Skip to content

Commit 094695c

Browse files
authored
publish_api_docs_android.sh fix: create parent folders if needed (#1404)
1 parent cfce74a commit 094695c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/publish_api_docs_android.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ copyDocumentsToDocsFolders() {
9191
for fullPath in `find $GENERATED_DOCS_FOLDER -type d -maxdepth 1 -mindepth 1 | grep $DOCS_PREFIX` ; do
9292
docsDirectory=`basename $fullPath`
9393
targetDirectory=$PATH_TO_REPO/$docsDirectory/$VERSION_NUMBER
94-
mkdir $targetDirectory
94+
mkdir -p $targetDirectory
9595
cp -r $fullPath/javadoc/. $targetDirectory
9696
done
9797
}

0 commit comments

Comments
 (0)