From 55b86f75668a1befd4dc620927f258c7ad47efe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Wed, 1 Jul 2015 21:26:10 +0200 Subject: [PATCH] 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 --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 785c2686e935..6192bf4f7b7c 100755 --- a/build.sh +++ b/build.sh @@ -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