Browse Source

Fixes the Mac OS X Build: ANT errored on the symlinks which are now present. A more final solution has to be proposed which will resolve all the symlinks or track the upstream bug and see if Ant can be changed to work properly with those values.

MeFisto94 5 years ago
parent
commit
32ecc255d1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      jdks/download-jdks.sh

+ 1 - 0
jdks/download-jdks.sh

@@ -103,6 +103,7 @@ function unpack_mac_jdk {
     fi
     fi
     # FROM HERE: build-osx-zip.sh by normen (with changes)
     # FROM HERE: build-osx-zip.sh by normen (with changes)
     mv Home jdk # rename folder
     mv Home jdk # rename folder
+    rm -rf jdk/man jdk/legal # ANT got stuck at the symlinks (https://bz.apache.org/bugzilla/show_bug.cgi?id=64053)
     zip -9 -r -y -q ../../compiled/jdk-macosx.zip jdk
     zip -9 -r -y -q ../../compiled/jdk-macosx.zip jdk
     cd ../../
     cd ../../