Fix CI tizen build error (dotnet/coreclr#10909)
authorHyeongseok Oh <hseok82.oh@samsung.com>
Wed, 12 Apr 2017 01:54:52 +0000 (10:54 +0900)
committerJan Kotas <jkotas@microsoft.com>
Wed, 12 Apr 2017 01:54:52 +0000 (18:54 -0700)
Fix CI tizen build error caused by chmod

Commit migrated from https://github.com/dotnet/coreclr/commit/737ae7288bfd1537525b76b01edf21cba868fa9c

src/coreclr/netci.groovy

index 87083a6..05e5d7f 100755 (executable)
@@ -1637,7 +1637,9 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
                     // Unpack the corefx binaries
                     buildCommands += "mkdir ./bin/CoreFxBinDir"
                     buildCommands += "tar -xf ./bin/build.tar.gz -C ./bin/CoreFxBinDir"
-                    buildCommands += "chmod a+x ./bin/CoreFxBinDir/corerun"
+                    if (os != 'Tizen') {
+                        buildCommands += "chmod a+x ./bin/CoreFxBinDir/corerun"
+                    }
 
                     // Call the ARM CI script to cross build and test using docker
                     buildCommands += """./tests/scripts/arm32_ci_script.sh \\