diff --git a/src/build/gitinfo.bat b/src/build/gitinfo.bat index 5be99f26eb5590aebb79fea5134ee99ffb1686cf..9d9e8d62eb26d3fb457f43acf58d48bf1d3622a4 100644 --- a/src/build/gitinfo.bat +++ b/src/build/gitinfo.bat @@ -1,5 +1,5 @@ @git log -1 HEAD --format="#define GIT_HASH \"%%h\"" > git_hash.h -@git log -1 HEAD --format="#define GIT_DATE \"%%cd\"" '--date=format-local:%%b %%e %%Y %%H:%%M' >> git_hash.h +@git log -1 HEAD --format="#define GIT_DATE \"%%cd\"" "--date=format-local:%%b %%e %%Y %%H:%%M" >> git_hash.h @echo #define GIT_BRANCH ^"| tr -d "\r\n" > git_branch.h @git rev-parse --abbrev-ref HEAD | tr -d "\n" >> git_branch.h @echo ^" >> git_branch.h