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, 6 insertions, 0 deletions
diff --git a/packages/scripts-cern/build.gradle b/packages/scripts-cern/build.gradle
index d10b19e..0e7d121 100644
--- a/packages/scripts-cern/build.gradle
+++ b/packages/scripts-cern/build.gradle
@@ -4,3 +4,9 @@ ospackage {
into "/opt/${project.name}"
from files('resources')
}
+
+tasks.getByName('createActivator').doFirst {
+ new File("resources/bin").listFiles().each {
+ activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}"
+ }
+} \ No newline at end of file