diff options
author | Yves Fischer <yves.fischer@cern.ch> | 2016-01-07 09:23:29 +0100 |
---|---|---|
committer | Yves Fischer <yves.fischer@cern.ch> | 2016-01-07 09:23:29 +0100 |
commit | 3b7cbbd6a5652b055aa680a1fc4dc1369079c78d (patch) | |
tree | f02d2a43d1288626a5357ca8fe0a4ed0b712ba52 /packages | |
parent | 3a0b021979e914859ce26be71882689a91f15d95 (diff) | |
download | debian-packages-3b7cbbd6a5652b055aa680a1fc4dc1369079c78d.tar.gz debian-packages-3b7cbbd6a5652b055aa680a1fc4dc1369079c78d.zip |
idea: strip top directory from tar
Diffstat (limited to 'packages')
-rw-r--r-- | packages/idea-iu/build.gradle | 3 |
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) |