preparing new package
[packages/openjdk9.git] / download.sh
1 #!/bin/sh -e
2
3 if [ -z "$1" -o "${1#b}" = "${1}" ] ; then
4         echo "Usage:" >&2
5         echo "   $0 <version>" >&2
6         echo "e.g:" >&2
7         echo "   $0 b132" >&2
8         exit 1
9 fi
10
11 version="$1"
12
13 curl -o "openjdk8-${version}.tar.bz2" "http://hg.openjdk.java.net/jdk8/jdk8/archive/jdk8-${version}.tar.bz2"
14
15 for component in corba hotspot jaxp jaxws jdk langtools nashorn ; do
16         curl -o "openjdk8-${component}-${version}.tar.bz2" "http://hg.openjdk.java.net/jdk8/jdk8/${component}/archive/jdk8-${version}.tar.bz2"
17 done
This page took 0.054549 seconds and 3 git commands to generate.