Fix Ubuntu 15.10 Build break
authorGaurav Khanna <Gaurav Khanna>
Tue, 8 Mar 2016 05:22:03 +0000 (21:22 -0800)
committerGaurav Khanna <Gaurav Khanna>
Tue, 8 Mar 2016 05:22:03 +0000 (21:22 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/8807598af6bd36cb7ea09ac5cff6f1e0f42a0a42

src/coreclr/build.sh

index e72db44..160fea6 100755 (executable)
@@ -199,7 +199,10 @@ isMSBuildOnNETCoreSupported()
     if [ "$__BuildArch" == "x64" ]; then
         if [ "$__BuildOS" == "Linux" ]; then
             if [ "$__DistroName" == "ubuntu" ]; then
-                __isMSBuildOnNETCoreSupported=1
+                __OSVersion=$(lsb_release -rs)
+                if [ "$__OSVersion" == "14.04" ]; then
+                    __isMSBuildOnNETCoreSupported=1
+                fi
             elif [ "$__DistroName" == "rhel" ]; then
                 __isMSBuildOnNETCoreSupported=1
             elif [ "$__DistroName" == "debian" ]; then