aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openjfx11/configure-ant-home.patch
blob: 5bb975126c0c25acbd00a153d09634ed5a4c3e43 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- old/build.gradle
+++ new/build.gradle
@@ -764,7 +764,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";