diff options
Diffstat (limited to 'buildSrc')
-rw-r--r-- | buildSrc/src/main/groovy/org/jetbrains/CrossPlatformExec.groovy | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/buildSrc/src/main/groovy/org/jetbrains/CrossPlatformExec.groovy b/buildSrc/src/main/groovy/org/jetbrains/CrossPlatformExec.groovy index a83d6f65..d3973a8a 100644 --- a/buildSrc/src/main/groovy/org/jetbrains/CrossPlatformExec.groovy +++ b/buildSrc/src/main/groovy/org/jetbrains/CrossPlatformExec.groovy @@ -61,14 +61,8 @@ class CrossPlatformExec extends AbstractExecTask { if (!Files.isExecutable(commandFile)) { return null; } - - String resolvedCommand = commandFile.toAbsolutePath().normalize(); - - if (!windows && !resolvedCommand.startsWith('.')) { - resolvedCommand = '.' + File.separator + resolvedCommand; - } - - return resolvedCommand; + + return commandFile.toAbsolutePath().normalize(); } private static String normalizeCommandPaths(String command) { |