Fix git call syntax in commit_id.bat

BUG=angle:566

Change-Id: I437bdec916dbfe12cb310a20d4f38c18072eacd0
Reviewed-on: https://chromium-review.googlesource.com/187210
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Shannon Woods <[email protected]>
This commit is contained in:
Shannon Woods committed 2014-02-20 16:06:50 +00:00
1 parent a39b3ab9ce
commit aacedfcffb
1 file changed
+1 -1
+1 -1
View File
@@ -10,6 +10,6 @@ set _Str=#define ANGLE_COMMIT_HASH_SIZE 12
echo %_Str% >> %1%\commit.h
REM commit date
(FOR /F "delims=" %%i IN ('git show -s --format^="%%ci" HEAD') DO set _Str=%%i) || (set _Str=Unknown Date)
(FOR /F "delims=" %%i IN ('call git show -s --format^="%%ci" HEAD') DO set _Str=%%i) || (set _Str=Unknown Date)
set _Str=#define ANGLE_COMMIT_DATE "%_Str%"
echo %_Str% >> %1%\commit.h