소스 검색

Fix Travis build (ancient PZIP Version)

MeFisto94 7 년 전
부모
커밋
c8029792e2
1개의 변경된 파일6개의 추가작업 그리고 7개의 파일을 삭제
  1. 6 7
      jdks/download-jdks.sh

+ 6 - 7
jdks/download-jdks.sh

@@ -91,17 +91,16 @@ function unpack_mac_jdk {
         hdiutil detach /Volumes/JDK*
     else # Linux
         7z x ../downloads/jdk-macosx-x64.dmg 
-        # The following seems dependent of the 7zip version. If not they also changed their MacOSX Installer
-        #7z x 4.hfs > /dev/null
+        # The following seems dependent of the 7zip version. Travis on Version 9.20 extracts all partitions, where as at least version 16.02 is automatically extracting 4.hfs
+        7z x 4.hfs > /dev/null
         #install_xar
         #./xar-1.5.2/src/xar -xf JDK*/JDK*.pkg
-    cd JDK*
-    
-    7z x JDK*.pkg 
-    cd jdk1*.pkg
-    
+        7z x JDK*.pkg 
+        cd jdk1*.pkg
     fi
 
+    cd JDK*
+
     cat Payload | gunzip -dc | cpio -i
     #mkdir -p Contents/jdk/
     cd Contents/