windows installers: fixed creating revision.inc in the exported source in such a way that svn2revisioninc leaves it untouched (issue #20277)

git-svn-id: trunk@32419 -
This commit is contained in:
vincents 2011-09-19 07:52:30 +00:00
parent 464fffb72b
commit f5143a20e9

View File

@ -1,7 +1,8 @@
%SVN% info %1 | %windir%\system32\find "Last Changed Rev:" > svninfo.txt
%SVN% info %1 | %windir%\system32\find.exe "Last Changed Rev:" > svninfo.txt
set /P SVNINFO=<svninfo.txt
echo const RevisionStr = '%SVNINFO:~18%'; > %2
echo // Created by Svn2RevisionInc> %2
echo const RevisionStr = '%SVNINFO:~18%';>> %2