Open
Conversation
This makes libtool more Windows-friendly.
Member
|
thanks, we should take the opportunity and try to report this upstream at least. |
jannick0
reviewed
Jan 2, 2023
| case `"$_G_path_prog" --version 2>&1` in | ||
| - *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; | ||
| - *) $_G_check_func $_G_path_prog | ||
| + *GNU*) func_path_progs_result="$_G_path_prog" _G_path_prog_found=: ;; |
Contributor
There was a problem hiding this comment.
Assignments like a=$b do not need any quotation, since bash does respect any white spaces when expanding the variable in assignments.
This reduces the patch to quoted arguments which is required, of course.
I am wondering how backslashes in a directory are avoided or treated. This additional issue should be dealt with if reported upstream I believe.
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.
This makes
libtoolmore Windows-friendly. Sometimes,libtoolwill find tools like C:\Program Files (x86)\Git\bin\ld that it subsequently cannot handle.