Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 24 lines (17 sloc) 510 Bytes
#! /bin/sh
set -xe
PKG=jdk
VERSION=8u141
BUILD=0
PREFIX=/pkg/jdk-$VERSION-$BUILD
cd $PREFIX
tar xv --strip-components=1 -f /src/mariux/download/jdk-$VERSION-linux-x64.tar.gz
unzip /src/mariux/download/jce_policy-8.zip
mv UnlimitedJCEPolicyJDK8/US_export_policy.jar \
UnlimitedJCEPolicyJDK8/local_policy.jar \
jre/lib/security/
mv UnlimitedJCEPolicyJDK8/README.txt jre/lib/security/UnlimitedJCEPolicy_README.txt
rmdir UnlimitedJCEPolicyJDK8
cat >$PREFIX/profile <<-EOF
PATH=$PREFIX/bin:\$PATH
EOF