filesystem: Use working directory only if it is applicable#4412
Open
orgads wants to merge 1 commit intomsys2:masterfrom
Open
filesystem: Use working directory only if it is applicable#4412orgads wants to merge 1 commit intomsys2:masterfrom
orgads wants to merge 1 commit intomsys2:masterfrom
Conversation
Check for both msys-2.0.dll and bash.exe. Otherwise, use the script directory. Some applications install msys2 runtime as a dependency, while it is not a full msys environment.
Member
|
What issue does this fix? |
Contributor
Author
|
I tried to state it in the commit message. I guess it was not enough. When I run |
Member
|
What does the directory have? What do you want to do with the msys2_shell.cmd if that directory does not have any shell? |
Contributor
Author
|
I just want to start a shell, and I happened to run from this directory. It has a utility that is built with msys, so I need the msys runtime there. |
Contributor
Author
|
What's the verdict? |
Contributor
Author
Member
|
I can not understand the situation clearly. Please wait for other to comment 🙏 |
Contributor
Author
|
I'll try to explain with an example:
|
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Check for both msys-2.0.dll and bash.exe. Otherwise, use the script directory. Some applications install msys2 runtime as a dependency, while it is not a full msys environment.