summaryrefslogtreecommitdiff
path: root/packages/idea-iu
diff options
context:
space:
mode:
Diffstat (limited to 'packages/idea-iu')
-rw-r--r--packages/idea-iu/build.gradle3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/idea-iu/build.gradle b/packages/idea-iu/build.gradle
index 9897299..a6933eb 100644
--- a/packages/idea-iu/build.gradle
+++ b/packages/idea-iu/build.gradle
@@ -10,6 +10,9 @@ task download(type: DownloadTask) {
task untar(type: Copy) {
from tarTree(download.destFile)
into file("${buildDir}/unpacked/dist")
+ eachFile { FileCopyDetails fcd ->
+ fcd.path = fcd.path.substring(path.indexOf('/')+1)
+ }
}
untar.dependsOn(download)