Commit cea37819 authored by Andy Wilkinson's avatar Andy Wilkinson

Fix file permissions in the CLI's zip and tar distributions

Fixes gh-21451
parent d0f16d6f
...@@ -131,10 +131,10 @@ def configureArchive(archive) { ...@@ -131,10 +131,10 @@ def configureArchive(archive) {
into "lib/" into "lib/"
} }
archive.from(file("src/main/content")) { archive.from(file("src/main/content")) {
eachFile { it.mode = it.directory ? 0x755 : 0x644 } eachFile { it.mode = it.directory ? 0755 : 0644 }
} }
archive.from(file("src/main/executablecontent")) { archive.from(file("src/main/executablecontent")) {
eachFile { it.mode = 0x755 } eachFile { it.mode = 0755 }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment