Fix getting head revision when checked out as a submodule.

This commit is contained in:
Will
2016-03-18 01:51:32 -06:00
parent 4641f37c1f
commit 56c496c419

View File

@@ -98,7 +98,9 @@ git rev-list --all --count >> version.txt
set /p revision= < version.txt
del /Q version.txt
cd..
set /p head= < .git/refs/heads/master
git rev-parse HEAD >> head.txt
set /p head= < head.txt
del /Q head.txt
cd LibBSP\Source\Util
del /Q Revision.cs
type nul> Revision.cs