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

Improved windows host support (git bash & cygwin) #184

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pjeby
Copy link

@pjeby pjeby commented Mar 12, 2020

When using windows as a host OS, GOROOT must be a Windows path. This condition applies whenever invoking go, either as part of the installation or when written into the .env file. Also, the .exe files in the Windows Go distribution do not have an executable flag set.

This PR addresses both of these issues, allowing binary installs to run correctly when running under git bash or cygwin.

When using windows as a host OS, GOROOT must be a Windows path.
This condition applies whenever invoking go, either as part of
the installation or when written into the .env file.  Also,
the .exe files in the Windows Go distribution do not have
an executable flag set.  This change addresses both of these
issues, allowing at least binary installs to run correctly when
running under git bash or cygwin.
@pjeby
Copy link
Author

pjeby commented Apr 23, 2021

I've updated this to add support for pkg/tool exe's. Any feedback on 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.

1 participant