ソースを参照

JDKs: Reduce Verbosity of curl/7z

MeFisto94 7 年 前
コミット
7111bf5510
1 ファイル変更3 行追加3 行削除
  1. 3 3
      jdks/download-jdks.sh

+ 3 - 3
jdks/download-jdks.sh

@@ -63,7 +63,7 @@ function download_jdk {
     then
     then
         echo "<<< Already existing, SKIPPING."
         echo "<<< Already existing, SKIPPING."
     else
     else
-        curl -v -o downloads/jdk-$1 -L -b oraclelicense=accept-securebackup-cookie http://download.oracle.com/otn-pub/java/jdk/$jdk_version-$jdk_build_version/$jdk_hash/jdk-$jdk_version-$1 #--progress-bar
+        curl -s -o downloads/jdk-$1 -L -b oraclelicense=accept-securebackup-cookie http://download.oracle.com/otn-pub/java/jdk/$jdk_version-$jdk_build_version/$jdk_hash/jdk-$jdk_version-$1 #--progress-bar
         echo "<<< OK!"
         echo "<<< OK!"
     fi
     fi
 }
 }
@@ -90,12 +90,12 @@ function unpack_mac_jdk {
         xar -xf /Volumes/JDK*/JDK*.pkg
         xar -xf /Volumes/JDK*/JDK*.pkg
         hdiutil detach /Volumes/JDK*
         hdiutil detach /Volumes/JDK*
     else # Linux
     else # Linux
-        7z x ../downloads/jdk-macosx-x64.dmg 
+        7z x ../downloads/jdk-macosx-x64.dmg > /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
         # 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
         7z x 4.hfs > /dev/null
         #install_xar
         #install_xar
         #./xar-1.5.2/src/xar -xf JDK*/JDK*.pkg
         #./xar-1.5.2/src/xar -xf JDK*/JDK*.pkg
-        7z x JDK*/JDK*.pkg 
+        7z x JDK*/JDK*.pkg  > /dev/null
         cd jdk1*.pkg
         cd jdk1*.pkg
     fi
     fi