mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
[windows] When making scmrev.h, also look for msysgit explicitly. VS2015 packages it.
This commit is contained in:
@ -28,6 +28,17 @@ function GetGitExe()
|
|||||||
{}
|
{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// last try - msysgit not in path (vs2015 default)
|
||||||
|
msyspath = "\\Git\\cmd\\git.exe";
|
||||||
|
gitexe = wshShell.ExpandEnvironmentStrings("%PROGRAMFILES(x86)%") + msyspath;
|
||||||
|
if (oFS.FileExists(gitexe)) {
|
||||||
|
return gitexe;
|
||||||
|
}
|
||||||
|
gitexe = wshShell.ExpandEnvironmentStrings("%PROGRAMFILES%") + msyspath;
|
||||||
|
if (oFS.FileExists(gitexe)) {
|
||||||
|
return gitexe;
|
||||||
|
}
|
||||||
|
|
||||||
WScript.Echo("Cannot find git or git.cmd, check your PATH:\n" +
|
WScript.Echo("Cannot find git or git.cmd, check your PATH:\n" +
|
||||||
wshShell.ExpandEnvironmentStrings("%PATH%"));
|
wshShell.ExpandEnvironmentStrings("%PATH%"));
|
||||||
WScript.Quit(1);
|
WScript.Quit(1);
|
||||||
|
Reference in New Issue
Block a user