mirror of
https://github.com/processing/processing4.git
synced 2026-03-13 16:07:38 +01:00
Dir permissions (#1400)
Set dir permission to fix an issue for the nix packagemanager
This commit is contained in:
@@ -411,6 +411,7 @@ tasks.register<Copy>("includeJavaMode") {
|
||||
from(java.configurations.runtimeClasspath)
|
||||
into(composeResources("modes/java/mode"))
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
dirPermissions { unix("rwx------") }
|
||||
}
|
||||
tasks.register<Copy>("includeJdk") {
|
||||
from(Jvm.current().javaHome.absolutePath)
|
||||
|
||||
@@ -81,6 +81,7 @@ legacyLibraries.forEach { library ->
|
||||
include("library/**/*")
|
||||
include("examples/**/*")
|
||||
into( javaMode("/libraries/$library"))
|
||||
dirPermissions { unix("rwx------") };
|
||||
}
|
||||
bundle.configure {
|
||||
dependsOn("library-$library-extraResources")
|
||||
|
||||
Reference in New Issue
Block a user