Remove backslash from the directory path to fix the SBOM generation issue on Windows.

This commit is contained in:
Khushboo Vashi 2023-08-31 12:30:40 +05:30
parent 0b91244f91
commit ed8aeed818

View File

@ -364,7 +364,7 @@ REM Main build sequence Ends
:GENERATE_SBOM
ECHO Generating SBOM...
CALL syft "%BUILDROOT%\" -o cyclonedx-json > "%BUILDROOT%\sbom.json"
CALL syft "%BUILDROOT%" -o cyclonedx-json > "%BUILDROOT%\sbom.json"
:SIGN_INSTALLER
ECHO Attempting to sign the installer...