SAP / cloud-mta-build-tool

Multi-Target Application (MTA) build tool for Cloud Applications https://sap.github.io/cloud-mta-build-tool
Apache License 2.0
136 stars 56 forks source link

Fix MBT mkdir problem when generate SBOM file #1095

Closed young-yang03 closed 8 months ago

young-yang03 commented 8 months ago

Description

When MBT generate SBOM file, it may create dir according to the --source and --sbom-file-path value.

For mbt build --source ./ --sbom-file-path sbom-file-name, the sbom file will be generated under the root path of mta application, the sbom dir will be empty and dose not need to be generated.

In the current implementation, there is a bug for make dir for sbom file path, the PR is to fix it

Checklist