Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 55b86f7

Browse files
committed
Relax regex in build.sh to also recognize Mono 4.0.2
Before, the script complained cause it only looked for 4.0.1.x
1 parent 683853a commit 55b86f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ __monoversion=$(mono --version | grep "version 4.[1-9]")
2424

2525
if [ $? -ne 0 ]; then
2626
# if built from tarball, mono only identifies itself as 4.0.1
27-
__monoversion=$(mono --version | egrep "version 4.0.1(.[0-9]+)?")
27+
__monoversion=$(mono --version | egrep "version 4.0.[1-9]+(.[0-9]+)?")
2828
if [ $? -ne 0 ]; then
2929
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."
3030
exit 1

0 commit comments

Comments
 (0)