fix some problem in the scmrev stuff

This commit is contained in:
zeromus 2018-06-18 22:19:23 -05:00
parent 95e82b57ba
commit 166e7a8ad9
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@
/output/fceux.exp
/output/fceux.lib
/output/fceux.cfg
/vc/userconfig/scmrev.h

View File

@ -1,7 +1,7 @@
var wshShell = new ActiveXObject("WScript.Shell")
var oFS = new ActiveXObject("Scripting.FileSystemObject");
var outfile = "./defaultconfig/scmrev.h";
var outfile = "./userconfig/scmrev.h";
var cmd_revision = " rev-parse HEAD";
var cmd_describe = " describe --always --long --dirty";
var cmd_branch = " rev-parse --abbrev-ref HEAD";