summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/scripts-cern/build.gradle6
-rw-r--r--packages/scripts/build.gradle6
2 files changed, 4 insertions, 8 deletions
diff --git a/packages/scripts-cern/build.gradle b/packages/scripts-cern/build.gradle
index c6bdfa5..1c31991 100644
--- a/packages/scripts-cern/build.gradle
+++ b/packages/scripts-cern/build.gradle
@@ -5,8 +5,6 @@ ospackage {
from files('resources')
}
-tasks.getByName('activator').doFirst {
- new File("resources/bin").listFiles().each {
- activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
- }
+new File(project.projectDir, "resources/bin").listFiles().each {
+ activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
}
diff --git a/packages/scripts/build.gradle b/packages/scripts/build.gradle
index c6bdfa5..1c31991 100644
--- a/packages/scripts/build.gradle
+++ b/packages/scripts/build.gradle
@@ -5,8 +5,6 @@ ospackage {
from files('resources')
}
-tasks.getByName('activator').doFirst {
- new File("resources/bin").listFiles().each {
- activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
- }
+new File(project.projectDir, "resources/bin").listFiles().each {
+ activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
}