aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 77b0f086..1b7cb0b6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -25,7 +25,8 @@ project('hotspot') {
task prepareJvm {
onlyIf { jreFile.canonicalPath != targetJreFile.canonicalPath }
doLast {
- ant.copy(todir: targetJreFile) {
+ // FIXME: We probably should check if source path is different and delete old JRE in that case
+ ant.copy(todir: targetJreFile, overwrite: true) {
fileset(dir: jreFile)
}
ant.chmod(file: new File(targetJreFile, 'bin/java'), perm: '0755')