projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
msvc
/
compare-config-files.ps1
diff --git
a/msvc/compare-config-files.ps1
b/msvc/compare-config-files.ps1
index 9122f1e8fc8dc7b3f892c9c95137cd1e33283453..72667c0324bda7141d510022212c68686255e3e0 100644
(file)
--- a/
msvc/compare-config-files.ps1
+++ b/
msvc/compare-config-files.ps1
@@
-36,7
+36,8
@@
$comparedLines | foreach {
{
##Look for diffs.
$mono_version = (Select-String -InputObject $_.InputObject -pattern '#define VERSION \"(.*)\"')
{
##Look for diffs.
$mono_version = (Select-String -InputObject $_.InputObject -pattern '#define VERSION \"(.*)\"')
- if ($mono_version -eq $null) {
+ $mono_corlib_version = (Select-String -InputObject $_.InputObject -pattern '#define MONO_CORLIB_VERSION')
+ if ($mono_version -eq $null -And $mono_corlib_version -eq $null) {
Write-Host "Changes detected, versions doesn't match. Configuration must to be replaced."
exit 1;
}
Write-Host "Changes detected, versions doesn't match. Configuration must to be replaced."
exit 1;
}