aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openjfx12/configure-ant-home.patch
blob: d3851c2efa19e8626e2ead46032d23a5d1c9b4e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- old/build.gradle
+++ new/build.gradle
@@ -751,7 +751,7 @@
          List<String>  params // parameters (usually -Dxxx=yyy)
          ) {
     // Try to use ANT_HOME
-    String antHomeEnv = System.getenv("ANT_HOME")
+    String antHomeEnv = "$ANT_HOME"
     String antHome = antHomeEnv != null ? cygpath(antHomeEnv) : null;
     String ant = (antHome != null && !antHome.equals("")) ? "$antHome/bin/ant" : "ant";