-
Notifications
You must be signed in to change notification settings - Fork 86
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
realpath on mac OS #109
Comments
IMHO it would be great if we could keep Maybe this could work:
|
Yep, this looks like a better approach. I was not aware of that Would then |
It should work on macOS, *BSD, and Linux with bash and zsh. For completeness:
|
@joschi I prefer your approach. I like that it helps increase our ability to run on other platforms. |
Do you want me to open a PR making those changes? |
That would be great, thank you!
…On Wed, Nov 18, 2020 at 4:43 PM Fernando Crespo ***@***.***> wrote:
Do you want me to open a PR making those changes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#109 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAABMPCJ5XHMSIEQXAOXDW3SQQ5WLANCNFSM4SB43Q7Q>
.
|
Until that is merged, I've updated my
|
I did this for the moment to get it working, I couldn't get the realpath substitution command to work on zsh/ohmyzsh on catalina via iterm2. This works for me and my flutter/android buildchain is now seeing the JAVA_HOME correctly. |
when i put the script to change JAVA_HOME the console output this:
asdf_update_java_home:5: command not found: realpath
There are some similar issues about the use of realpath on Mac OS, in workaround i have installed coreutils with:
brew install coreutils
The text was updated successfully, but these errors were encountered: