Repository: incubator-sdap-nexusproto
Updated Branches:
  refs/heads/master 61a45b56d -> 1ccc99dc7


trying to fix build error


Project: http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexusproto/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexusproto/commit/1ccc99dc
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexusproto/tree/1ccc99dc
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexusproto/diff/1ccc99dc

Branch: refs/heads/master
Commit: 1ccc99dc7915c0c89901d29f45e0916bbed8e64e
Parents: 61a45b5
Author: Frank Greguska <[email protected]>
Authored: Thu Jan 25 17:38:32 2018 -0800
Committer: Frank Greguska <[email protected]>
Committed: Thu Jan 25 17:38:32 2018 -0800

----------------------------------------------------------------------
 build.gradle | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexusproto/blob/1ccc99dc/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 1e2ee5c..a3e260a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -166,8 +166,9 @@ task pythonInstall(dependsOn: [checkPython, tarPython]){
             def process = installCommand.execute()
             process.waitFor()
             logger.debug("Standard out from executing 
\"${installCommand.join(" ")}\"\n" + process.in.readLines().collect{line -> "  
$line"}.join("\n"))
-            if(process.err.text) {
-                logger.error("Standard err from executing 
\"${installCommand.join(" ")}\"\n" + process.err.readLines().collect { line -> 
"  $line"}.join("\n"))
+            def stderrOut = process.err.text
+            if(stderrOut) {
+                logger.error("Standard err from executing 
\"${installCommand.join(" ")}\"\n" + stderrOut.split("\n").collect { line -> "  
$line"}.join("\n"))
             }
             installed = process.exitValue() == 0
         }catch (IOException e){

Reply via email to