update make_scmrev.h.js for modern times by searching for 64bit git on 32bit msbuild/devenv
This commit is contained in:
parent
75230bfe0a
commit
d9479cd6d3
|
@ -38,6 +38,10 @@ function GetGitExe()
|
|||
if (oFS.FileExists(gitexe)) {
|
||||
return gitexe;
|
||||
}
|
||||
gitexe = wshShell.ExpandEnvironmentStrings("%ProgramW6432%") + msyspath;
|
||||
if (oFS.FileExists(gitexe)) {
|
||||
return gitexe;
|
||||
}
|
||||
|
||||
WScript.Echo("Cannot find git or git.cmd, check your PATH:\n" +
|
||||
wshShell.ExpandEnvironmentStrings("%PATH%"));
|
||||
|
|
Loading…
Reference in New Issue