summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Khanna <Gaurav Khanna>2016-03-07 21:22:03 -0800
committerGaurav Khanna <Gaurav Khanna>2016-03-07 21:22:03 -0800
commit8807598af6bd36cb7ea09ac5cff6f1e0f42a0a42 (patch)
treeb334e01e2ecebc57af4b79ea0845e021fef72651
parent40b9ef6f3cc647ec0413e583b4a9e55b55b885bb (diff)
downloadcoreclr-8807598af6bd36cb7ea09ac5cff6f1e0f42a0a42.tar.gz
coreclr-8807598af6bd36cb7ea09ac5cff6f1e0f42a0a42.tar.bz2
coreclr-8807598af6bd36cb7ea09ac5cff6f1e0f42a0a42.zip
Fix Ubuntu 15.10 Build break
-rwxr-xr-xbuild.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index e72db447bb..160fea6f9d 100755
--- a/build.sh
+++ b/build.sh
@@ -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