diff options
author | Yves Fischer <yves.fischer@cern.ch> | 2016-05-30 11:58:34 +0200 |
---|---|---|
committer | Yves Fischer <yves.fischer@cern.ch> | 2016-05-30 11:58:34 +0200 |
commit | 41b5090d169bfed6bba74a55081a75bbb143bfad (patch) | |
tree | 814e2eb8e7e6e3532a96d1d0553ca0a8c4cd2209 /packages/oraclejdk/oraclejdk8/build.gradle | |
parent | 8ad0e5bf8f8be61bb9ef30c19a275b680ad4f059 (diff) | |
download | debian-packages-41b5090d169bfed6bba74a55081a75bbb143bfad.tar.gz debian-packages-41b5090d169bfed6bba74a55081a75bbb143bfad.zip |
correct oraclejdk activator
Diffstat (limited to 'packages/oraclejdk/oraclejdk8/build.gradle')
-rw-r--r-- | packages/oraclejdk/oraclejdk8/build.gradle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/oraclejdk/oraclejdk8/build.gradle b/packages/oraclejdk/oraclejdk8/build.gradle index d6d73c7..98c16a1 100644 --- a/packages/oraclejdk/oraclejdk8/build.gradle +++ b/packages/oraclejdk/oraclejdk8/build.gradle @@ -10,3 +10,8 @@ ospackage { } activator.env['JAVA_HOME'] = '/usr/lib/jvm/java-8-oraclejdk' +tasks.getByName('activator').doFirst { + file("${buildDir}/unpacked/dist/bin").list().each { + activator.bin[it] = "/usr/lib/jvm/java-8-oraclejdk/bin/${it}" + } +} |