Skip to content

Commit

Permalink
fix(ort-scan): Add the missing handling for the VCS_PATH parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Jul 12, 2024
1 parent 9ed42f8 commit 2cf0e42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/ort-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
echo -e "\e[1;33m Not running ORT Downloader, as the already cloned sources are to be analyzed..."
else
echo -e "\e[1;33m Running ORT Downloader to download project to scan... "
echo -e "\e[1;33m ${PROJECT_VCS_TYPE} project revision ${PROJECT_VCS_REVISION} located at ${PROJECT_VCS_URL}... "
echo -e "\e[1;33m ${PROJECT_VCS_TYPE} project revision ${PROJECT_VCS_REVISION} located at ${PROJECT_VCS_URL} in path '${PROJECT_VCS_PATH}'... "
${ORT_CLI} \
--${ORT_LOG_LEVEL} \
Expand All @@ -300,6 +300,7 @@
--vcs-type "${PROJECT_VCS_TYPE}" \
--project-url "${PROJECT_VCS_URL}" \
--vcs-revision "${PROJECT_VCS_REVISION}" \
--vcs-path "${PROJECT_VCS_PATH}" \
--project-name "${SW_NAME_SAFE}" \
|| ORT_CLI_DOWNLOAD_EXIT_CODE=$? \
&& export ORT_CLI_DOWNLOAD_EXIT_CODE="${ORT_CLI_DOWNLOAD_EXIT_CODE:-0}"
Expand Down

0 comments on commit 2cf0e42

Please sign in to comment.