aports/testing/openjfx12/configure-ant-home.patch
2019-10-26 23:25:01 +02:00

12 lines
419 B
Diff

--- 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";