Browse Source

Fix broken JDK Symlinks

MeFisto94 5 years ago
parent
commit
f7f76d5000
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
     fi
 
 
     rm -rf ../../jdk-macosx.zip
     rm -rf ../../jdk-macosx.zip
-    ln -s ./local/$jdk_version-$jdk_build_version/compiled/jdk-macosx.zip ../../ # Note that the first part is seen relative to the second one.
+    ln -s ./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.
     echo "< OK!"
     echo "< OK!"
 }
 }
 
 
@@ -287,7 +287,7 @@ function build_other_jdk {
     fi
     fi
 
 
     rm -rf ../../$name
     rm -rf ../../$name
-    ln -s ./local/$jdk_version-$jdk_build_version/compiled/$name ../../ # Note that the first part is seen relative to the second one.
+    ln -s ./local/$jdk_major_version.$jdk_version-$jdk_build_version/compiled/$name ../../ # Note that the first part is seen relative to the second one.
     echo "< OK!"
     echo "< OK!"
 }
 }