Skip to content

Commit fd29f48

Browse files
committed
dont require git to build
1 parent f0819b9 commit fd29f48

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

vc/defaultconfig/make_scmrev.h.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function GetGitExe()
4141

4242
WScript.Echo("Cannot find git or git.cmd, check your PATH:\n" +
4343
wshShell.ExpandEnvironmentStrings("%PATH%"));
44-
WScript.Quit(1);
44+
WScript.Quit(0);
4545
}
4646

4747
function GetFirstStdOutLine(cmd)
@@ -54,7 +54,7 @@ function GetFirstStdOutLine(cmd)
5454
{
5555
// catch "the system cannot find the file specified" error
5656
WScript.Echo("Failed to exec " + cmd + " this should never happen");
57-
WScript.Quit(1);
57+
WScript.Quit(0);
5858
}
5959
}
6060

vc/defaultconfig/scmrev.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#define SCM_REV_STR ""
2+
#define SCM_DESC_STR ""
3+
#define SCM_BRANCH_STR ""
4+
#define SCM_IS_MASTER 1

0 commit comments

Comments
 (0)