summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-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