diff --git a/packaging/windows-mkzip/mkrev.bat b/packaging/windows-mkzip/mkrev.bat index 72b453ef3..f46482ab2 100644 --- a/packaging/windows-mkzip/mkrev.bat +++ b/packaging/windows-mkzip/mkrev.bat @@ -9,17 +9,17 @@ rem ----------------------------------------------------- rem This is not very elegant, but it works. rem ./bin shouldn't have any local modifications -cd .\..\..\bin svnversion > tmpfile.txt set /p addtext= < tmpfile.txt del /q tmpfile.txt -cd ..\packaging\windows-mkzip echo #define SVNRevision > tmpfile.txt if exist ..\..\revision.h del /q ..\..\revision.h for /f "delims=" %%l in (tmpfile.txt) Do ( - echo %%l %addtext% >> ..\..\revision.h + for /f "delims=M" %%r in ("%addtext%") Do ( + echo %%l %%r >> ..\..\revision.h + ) ) del /q tmpfile.txt diff --git a/revision.h b/revision.h index 4169fb83e..28f9155b8 100644 --- a/revision.h +++ b/revision.h @@ -1 +1 @@ -#define SVNRevision 578 +#define SVNRevision 613