aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-01-08 11:53:22 +0100
committerFlorian Schmaus <flow@gentoo.org>2023-01-08 11:53:22 +0100
commitb498da2bc56db0c5f9ba6ee376498dd767d433c2 (patch)
tree42cfea980436871b8a12c57a42a6beca86154d5c
parentgradle.eclass: drop unnecessary assignment due to previous commit (diff)
downloadjava-b498da2bc56db0c5f9ba6ee376498dd767d433c2.tar.gz
java-b498da2bc56db0c5f9ba6ee376498dd767d433c2.tar.bz2
java-b498da2bc56db0c5f9ba6ee376498dd767d433c2.zip
gradle.eclass: respect existing JAVA_TOOL_OPTIONS
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--eclass/gradle.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/gradle.eclass b/eclass/gradle.eclass
index 1461afad..488c265d 100644
--- a/eclass/gradle.eclass
+++ b/eclass/gradle.eclass
@@ -137,7 +137,7 @@ egradle() {
gradle_args+=( --parallel )
fi
- local -x JAVA_TOOL_OPTIONS="-Duser.home=\"${T}\""
+ local -x JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS} -Duser.home=\"${T}\""
# TERM needed, otherwise gradle may fail on terms it does not know about
TERM=xterm \
edo \