Support msbuildonunsupportedplatform on non-x64 architecture (#11966)
authorJonghyun Park <parjong@gmail.com>
Thu, 1 Jun 2017 22:18:40 +0000 (07:18 +0900)
committerJan Kotas <jkotas@microsoft.com>
Thu, 1 Jun 2017 22:18:40 +0000 (15:18 -0700)
build.sh

index 976e18b..8e262b7 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -362,7 +362,7 @@ build_cross_arch_component()
 isMSBuildOnNETCoreSupported()
 {
     # This needs to be updated alongwith corresponding changes to netci.groovy.
-    __isMSBuildOnNETCoreSupported=0
+    __isMSBuildOnNETCoreSupported=$__msbuildonunsupportedplatform
 
     if [ "$__HostArch" == "x64" ]; then
         if [ "$__HostOS" == "Linux" ]; then
@@ -397,8 +397,6 @@ isMSBuildOnNETCoreSupported()
                 "alpine.3.4.3-x64")
                     __isMSBuildOnNETCoreSupported=1
                     ;;
-                *)
-                __isMSBuildOnNETCoreSupported=$__msbuildonunsupportedplatform
             esac
         elif [ "$__HostOS" == "OSX" ]; then
             __isMSBuildOnNETCoreSupported=1