Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use shell command to detect Maven home version on Mac systems without failure #3533

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

ChrisSquare
Copy link
Contributor

This is a fix for bug #3530.
The fallback command that retrieves Maven home using a mvn -version command only works on Unix-based systems.
For it to work on MacOS systems it requires a shell execution that will search for Maven executable in the PATH environment variable: sh -c "mvn -version".

@monperrus
Copy link
Collaborator

LGTM, thanks a lot.

@nharrand nharrand merged commit 1a2cd49 into INRIA:master Aug 17, 2020
@nharrand
Copy link
Collaborator

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants