aboutsummaryrefslogtreecommitdiff
path: root/unmaintained/openjfx12/configure-ant-home.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/openjfx12/configure-ant-home.patch')
-rw-r--r--unmaintained/openjfx12/configure-ant-home.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/unmaintained/openjfx12/configure-ant-home.patch b/unmaintained/openjfx12/configure-ant-home.patch
new file mode 100644
index 0000000000..d3851c2efa
--- /dev/null
+++ b/unmaintained/openjfx12/configure-ant-home.patch
@@ -0,0 +1,11 @@
1--- old/build.gradle
2+++ new/build.gradle
3@@ -751,7 +751,7 @@
4 List<String> params // parameters (usually -Dxxx=yyy)
5 ) {
6 // Try to use ANT_HOME
7- String antHomeEnv = System.getenv("ANT_HOME")
8+ String antHomeEnv = "$ANT_HOME"
9 String antHome = antHomeEnv != null ? cygpath(antHomeEnv) : null;
10 String ant = (antHome != null && !antHome.equals("")) ? "$antHome/bin/ant" : "ant";
11