From 9d5537d8741b0fbd850a929eaf1aead12ec0c60b Mon Sep 17 00:00:00 2001 From: Yannick Welsch Date: Thu, 12 May 2016 09:40:06 +0200 Subject: [PATCH] Invoke scripts from Gradle with the shell interpreter they choose --- .../org/elasticsearch/gradle/test/ClusterFormationTasks.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy index 34dde6e5dad..83dd1b7e4c5 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy @@ -418,8 +418,7 @@ class ClusterFormationTasks { // argument are wrapped in an ExecArgWrapper that escapes commas args execArgs.collect { a -> new EscapeCommaWrapper(arg: a) } } else { - executable 'sh' - args execArgs + commandLine execArgs } } }