Browse Source

Be even more quiet... Stupid Log limit

MeFisto94 9 years ago
parent
commit
db0b0a6c85
3 changed files with 6 additions and 6 deletions
  1. 1 1
      .travis.yml
  2. 1 1
      jdks/build-package.sh
  3. 4 4
      jdks/download-jdks.sh

+ 1 - 1
.travis.yml

@@ -28,7 +28,7 @@ install:
   - cd jdks
   - ./download-jdks.sh
   - cd ../
-  - ant build-installers
+  - ant -S build-installers
 
 #script:
 #  - ./gradlew check

+ 1 - 1
jdks/build-package.sh

@@ -40,7 +40,7 @@ cd jdk_tmp/jre
 pack200 -J-Xmx1024m lib/rt.jar.pack.gz lib/rt.jar
 rm -rf lib/rt.jar
 cd ..
-zip -9 -r -y ../jdk_tmp_sfx.zip .
+zip -9 -r -y -q ../jdk_tmp_sfx.zip .
 cd ..
 cat $unzipsfxname jdk_tmp_sfx.zip > $name
 chmod +x $name

+ 4 - 4
jdks/download-jdks.sh

@@ -38,7 +38,7 @@ function unpack_mac_jdk {
         hdiutil detach /Volumes/JDK*
     else # Linux (Requires LOOPFS)
         mkdir mnt
-        7z x ../jdk-macosx-x64.dmg
+        7z x ../jdk-macosx-x64.dmg > /dev/null
         sudo mount -t hfsplus -o loop 4.hfs mnt
         install_xar
         ./xar-1.5.2/src/xar -xf mnt/JDK*.pkg
@@ -69,8 +69,8 @@ function unpack_windows {
     fi
 
     mkdir -p $1
-    7z x -o$1 "jdk-$1.exe"
-    unzip $1/tools.zip -d $1/
+    7z x -o$1 "jdk-$1.exe" > /dev/null
+    unzip -qq $1/tools.zip -d $1/
     rm $1/tools.zip
 
     find $1 -type f \( -name "*.exe" -o -name "*.dll" \) -exec chmod u+rwx {} \; # Make them executable
@@ -119,7 +119,7 @@ function exec_build_package {
     if [ -f "jdk-$1.$3" ]; then
         echo "< Already existing, SKIPPING."
     else
-        sh build-package.sh $1 $2
+        ./build-package.sh $1 $2
     fi
 }