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

WSL bash.exe conflicting with Git/MSYS one #3133

Closed
FeodorFitsner opened this issue Oct 12, 2019 · 1 comment

Comments

@FeodorFitsner
Copy link
Member

@FeodorFitsner FeodorFitsner commented Oct 12, 2019

WSL installs bash.exe into C:\Windows\System32 which takes precedence over bash.exe available in Git bin directory (C:\Program Files\Git\usr\bin) which is working and preferable by customers.

Possible solution is to rename WSL's bash to something like wsl-bash.exe.

As a quick workaround in your builds you can add to appveyor.yml:

init:
- del C:\Windows\System32\bash.exe
@Dekken

This comment has been minimized.

Copy link

@Dekken Dekken commented Nov 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.