This is an automated email from the ASF dual-hosted git repository. fgreg pushed a commit to branch SDAP-48 in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexusproto.git
commit 1ccc99dc7915c0c89901d29f45e0916bbed8e64e Author: Frank Greguska <[email protected]> AuthorDate: Thu Jan 25 17:38:32 2018 -0800 trying to fix build error --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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){
