summaryrefslogtreecommitdiff
path: root/packages/scripts-cern/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'packages/scripts-cern/build.gradle')
-rw-r--r--packages/scripts-cern/build.gradle6
1 files changed, 2 insertions, 4 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}"
}