diff --git a/ci/downstream.sh b/ci/downstream.sh index b2741f1..4425833 100755 --- a/ci/downstream.sh +++ b/ci/downstream.sh @@ -187,7 +187,7 @@ f_copy_collection_to_working_dir() # Install downstream collection into provided path if [[ -n ${INSTALL_DOWNSTREAM_COLLECTION_PATH} ]]; then rm -fr "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" - mkdir "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" + mkdir -p "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" f_log_info "Install built collection *.tar.gz into ${INSTALL_DOWNSTREAM_COLLECTION_PATH}" ansible-galaxy collection install -p "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" "${_build_dir}"/*.tar.gz fi