Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Merge pull request #2218 from akoeplinger/regex
Browse files Browse the repository at this point in the history
Relax regex in build.sh to also recognize Mono 4.0.2
  • Loading branch information
JeremyKuhne committed Jul 1, 2015
2 parents 683853a + 55b86f7 commit 5a1cc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ __monoversion=$(mono --version | grep "version 4.[1-9]")

if [ $? -ne 0 ]; then
# if built from tarball, mono only identifies itself as 4.0.1
__monoversion=$(mono --version | egrep "version 4.0.1(.[0-9]+)?")
__monoversion=$(mono --version | egrep "version 4.0.[1-9]+(.[0-9]+)?")
if [ $? -ne 0 ]; then
echo "Mono 4.0.1.44 or later is required to build corefx. Please see https://github.com/dotnet/corefx/blob/master/Documentation/building/unix-instructions.md for more details."
exit 1
Expand Down

0 comments on commit 5a1cc5c

Please sign in to comment.