/[packages]/updates/5/java-1.8.0-openjdk/current/SOURCES/mga-add-missing-files.sh
ViewVC logotype

Contents of /updates/5/java-1.8.0-openjdk/current/SOURCES/mga-add-missing-files.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1005215 - (show annotations) (download) (as text)
Fri Apr 22 12:28:54 2016 UTC (7 years, 11 months ago) by ns80
File MIME type: application/x-sh
File size: 495 byte(s)
SILENT:
- add script to get the missing files
- add and use the resulting tarball

1 #!/bin/sh
2
3 if [ $# -ne 1 ]; then
4 echo "Usage: $0 <revision>"
5 exit 1
6 fi
7
8 revision=$(echo "$1" | cut -c 9-)
9
10 if [ -z "$(echo \"$revision\" | grep \"jdk[89]u[0-9][0-9][0-9]\\?-b[0-9][0-9]\")" ]; then
11 echo "Revision must be aarch64-jdk[89]u[0-9][0-9][0-9]?-b[0-9][0-9]"
12 exit 2
13 fi
14
15 changetset=$(hg id -r $revision http://hg.openjdk.java.net/jdk8u/jdk8u/jdk)
16 wget http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/archive/$changetset.tar.bz2/src/share/native/sun/security/ec/impl/ -O $changetset.tar.bz2

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30