summaryrefslogtreecommitdiff
path: root/packages/gwt-chromium
diff options
context:
space:
mode:
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)