From 2e2f574f4f4bbdaaec0debcdbc1a4552add36f15 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch Date: Sun, 17 Feb 2019 21:17:58 +0000 Subject: Use the java home set earlier as the real java home --- scripts/link_windows.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/link_windows.sh b/scripts/link_windows.sh index 0a5ad6d..0d16acb 100755 --- a/scripts/link_windows.sh +++ b/scripts/link_windows.sh @@ -32,8 +32,8 @@ if [ ! -e jdks/windows/jdk-11.0.1 ]; then fi # Set env variables to build with mac toolchain but windows target +REAL_JAVA_HOME=$JAVA_HOME JAVA_HOME="./jdks/windows/jdk-11.0.1" -REAL_JAVA_HOME=$(/usr/libexec/java_home -v 11) # Build in dist/windows rm -rf dist/windows -- cgit v1.2.3