adoroszlai opened a new pull request, #9454: URL: https://github.com/apache/ozone/pull/9454
## What changes were proposed in this pull request? Dev tools (like Hugo) are reinstalled on every run if they are not also available on `$PATH`. This is caused by the sanity check (`which`) before adding the tool to `$PATH`. https://issues.apache.org/jira/browse/HDDS-14099 ## How was this patch tested? Initial run: ```bash $ rm -fr .dev-tools && ./hadoop-ozone/dev-support/checks/docs.sh ... Installed hugo in .dev-tools/hugo ... Start building sites … ... ``` Re-run, not installed again: ```bash $ ./hadoop-ozone/dev-support/checks/docs.sh ... Start building sites … ... ``` Dir exists, but tool does not work, installed: ```bash $ rm .dev-tools/hugo/bin/hugo && ./hadoop-ozone/dev-support/checks/docs.sh ... Installed hugo in .dev-tools/hugo ... Start building sites … ... ``` CI: https://github.com/adoroszlai/ozone/actions/runs/19993620689 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
