Browse Source

Use good ol' copy instead of symlinks.

MeFisto94 9 years ago
parent
commit
75718700e4
2 changed files with 5 additions and 2 deletions
  1. 3 0
      .travis.yml
  2. 2 2
      jdks/download-jdks.sh

+ 3 - 0
.travis.yml

@@ -36,9 +36,12 @@ install:
 before_deploy:
   - cd jdks
   - ./download-jdks.sh
+  - mv local/*/compiled/* .
   - cd ../
   - ant build-installers | awk '{printf("."); fflush(stdout)}'
   - rm -rf build/
+  - cd jdks
+  - mv *.bin *.zip *.exe local/*/compiled/
 
 deploy:
   provider: releases

+ 2 - 2
jdks/download-jdks.sh

@@ -121,7 +121,7 @@ function build_mac_jdk {
     fi
 
     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_version-$jdk_build_version/compiled/jdk-macosx.zip ../../ # Note that the first part is seen relative to the second one.
     echo "< OK!"
 }
 
@@ -252,7 +252,7 @@ function build_other_jdk {
     fi
 
     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_version-$jdk_build_version/compiled/$name ../../ # Note that the first part is seen relative to the second one.
     echo "< OK!"
 }