1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/testing/openjfx12/configure-ant-home.patch
2019-10-26 23:25:01 +02:00

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