summaryrefslogtreecommitdiff
path: root/packages/gwt-chromium
diff options
context:
space:
mode:
authorYves Fischer <yves.fischer@cern.ch>2016-01-15 19:40:22 +0100
committerYves Fischer <yves.fischer@cern.ch>2016-01-15 19:41:12 +0100
commit516457ab00963e56fea49893a07972604a247855 (patch)
treeed199cada692b98b8d38501a6d8155252ca6d9c6 /packages/gwt-chromium
parent23c57ff24840c6f612ffd19effbac70a2c218865 (diff)
downloaddebian-packages-516457ab00963e56fea49893a07972604a247855.tar.gz
debian-packages-516457ab00963e56fea49893a07972604a247855.zip
gwt-chromium fix permissions
Diffstat (limited to 'packages/gwt-chromium')
-rw-r--r--packages/gwt-chromium/build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/gwt-chromium/build.gradle b/packages/gwt-chromium/build.gradle
index ce0ec6a..86db2db 100644
--- a/packages/gwt-chromium/build.gradle
+++ b/packages/gwt-chromium/build.gradle
@@ -12,6 +12,13 @@ task downloadChrome(type: DownloadTask) {
task unpackChrome(type: Copy) {
from zipTree(downloadChrome.destFile)
into file("${buildDir}/unpacked/dist")
+ eachFile { FileCopyDetails fcd ->
+ // makes out of 06__ (_=don't care) 0655
+ // means rwx______ => rwxr-xr-x
+ // or also r-x______ => r-xr-xr-x
+ def mode = fcd.mode >> 6
+ fcd.mode = (mode << 6) | ((mode & 5) << 3) | mode & 5
+ }
}
unpackChrome.dependsOn(downloadChrome)