forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use env as interpreter for all exe and scripts.
Git requires a MSYS2 perl. However, there are many distributions of perl. If another perl is in the PATH in front of the MSYS2 one, git will mistakenly find it. The shebang is right #!/usr/bin/perl, but actually git only recognizes perl and finds the first one in the PATH. This pull request removes the naïve parser of shebang, and just finds `env.exe` as the interpreter. It should be in the `PATH` in MSYS2. Signed-off-by: Yuyi Wang <Strawberry_Str@hotmail.com>
- Loading branch information
Showing
1 changed file
with
12 additions
and
55 deletions.
There are no files selected for viewing
This file contains 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