diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-10-12 03:33:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 03:33:58 +0300 |
commit | 43757d67ef13a81bccbc2980badf8ac2cee9b5fd (patch) | |
tree | 59c6c8e4fd6dfac92ba14f9be625cc35f50a0d9d /msvc | |
parent | 81f7d591d774476c606b97547cb2a17ec269c8d9 (diff) |
[msvc] Fix MONO_CORLIB_VERSION to match configure.ac (#5770)
When I simplified MONO_CORLIB_VERSION to only include major.minor
instead of major.minor.build in https://github.com/mono/mono/pull/5449
I forgot to apply the same change to the msvc copy of that logic.
Diffstat (limited to 'msvc')
-rwxr-xr-x | msvc/winsetup.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msvc/winsetup.bat b/msvc/winsetup.bat index 7cf6a0acdf4..a8359cd4cad 100755 --- a/msvc/winsetup.bat +++ b/msvc/winsetup.bat @@ -18,7 +18,7 @@ IF NOT %ERRORLEVEL% == 0 ( ECHO copy %WIN_CONFIG_H% %CONFIG_H% copy %WIN_CONFIG_H% %CONFIG_H% %windir%\system32\WindowsPowerShell\v1.0\powershell.exe -NonInteractive -Command "(Get-Content %CONFIG_H%) -replace '#MONO_VERSION#', (Select-String -path %CONFIGURE_AC% -pattern 'AC_INIT\(mono, \[(.*)\]').Matches[0].Groups[1].Value | Set-Content %CONFIG_H%" 2>&1 - %windir%\system32\WindowsPowerShell\v1.0\powershell.exe -NonInteractive -Command "$mono_version=[int[]](Select-String -path %CONFIGURE_AC% -pattern 'AC_INIT\(mono, \[(.*)\]').Matches[0].Groups[1].Value.Split('.'); $corlib_counter=[int](Select-String -path %CONFIGURE_AC% -pattern 'MONO_CORLIB_COUNTER=(.*)').Matches[0].Groups[1].Value; (Get-Content %CONFIG_H%) -replace '#MONO_CORLIB_VERSION#',('1{0:00}{1:00}{2:00}{3:000}' -f $mono_version[0],$mono_version[1],$mono_version[2],$corlib_counter) | Set-Content %CONFIG_H%" 2>&1 + %windir%\system32\WindowsPowerShell\v1.0\powershell.exe -NonInteractive -Command "$mono_version=[int[]](Select-String -path %CONFIGURE_AC% -pattern 'AC_INIT\(mono, \[(.*)\]').Matches[0].Groups[1].Value.Split('.'); $corlib_counter=[int](Select-String -path %CONFIGURE_AC% -pattern 'MONO_CORLIB_COUNTER=(.*)').Matches[0].Groups[1].Value; (Get-Content %CONFIG_H%) -replace '#MONO_CORLIB_VERSION#',('1{0:00}{1:00}{2:00}{3:000}' -f $mono_version[0],$mono_version[1],0,$corlib_counter) | Set-Content %CONFIG_H%" 2>&1 ) SET VERSION_CONTENT="#define FULL_VERSION \"Visual Studio built mono\"" |