Browse Source

Try to fix Download JDKs once again (changes to how symbolic links work)

MeFisto94 5 years ago
parent
commit
8a46211c01
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jdks/download-jdks.sh

+ 2 - 2
jdks/download-jdks.sh

@@ -129,7 +129,7 @@ function build_mac_jdk {
     fi
 
     rm -rf ../../jdk-macosx.zip
-    ln -rs ./local/$jdk_major_version.$jdk_version-$jdk_build_version/compiled/jdk-macosx.zip ../../ # Note that the first part is seen relative to the second one.
+    ln -rs compiled/jdk-macosx.zip ../../
     echo "< OK!"
 }
 
@@ -287,7 +287,7 @@ function build_other_jdk {
     fi
 
     rm -rf ../../$name
-    ln -rs ./local/$jdk_major_version.$jdk_version-$jdk_build_version/compiled/$name ../../ # Note that the first part is seen relative to the second one.
+    ln -rs compiled/$name ../../
     echo "< OK!"
 }