From 8ad0e5bf8f8be61bb9ef30c19a275b680ad4f059 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Thu, 26 May 2016 20:22:53 +0200 Subject: correct call to create activitor task --- packages/scripts-cern/build.gradle | 4 ++-- packages/scripts/build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/scripts-cern/build.gradle b/packages/scripts-cern/build.gradle index 0e7d121..c6bdfa5 100644 --- a/packages/scripts-cern/build.gradle +++ b/packages/scripts-cern/build.gradle @@ -5,8 +5,8 @@ ospackage { from files('resources') } -tasks.getByName('createActivator').doFirst { +tasks.getByName('activator').doFirst { new File("resources/bin").listFiles().each { activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}" } -} \ No newline at end of file +} diff --git a/packages/scripts/build.gradle b/packages/scripts/build.gradle index 0e7d121..c6bdfa5 100644 --- a/packages/scripts/build.gradle +++ b/packages/scripts/build.gradle @@ -5,8 +5,8 @@ ospackage { from files('resources') } -tasks.getByName('createActivator').doFirst { +tasks.getByName('activator').doFirst { new File("resources/bin").listFiles().each { activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}" } -} \ No newline at end of file +} -- cgit v1.2.1