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 25 lines (18 sloc) 682 Bytes
#! /bin/sh
set -xe
PKG=jdk
VERSION=7u80
BUILD=1
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/UnlimitedJCEPolicyJDK7.zip
mv jre/lib/security/US_export_policy.jar jre/lib/security/US_export_policy.orig.jar
mv jre/lib/security/local_policy.jar jre/lib/security/local_policy.orig.jar
mv UnlimitedJCEPolicy/US_export_policy.jar jre/lib/security/
mv UnlimitedJCEPolicy/local_policy.jar jre/lib/security/
mv UnlimitedJCEPolicy/README.txt jre/lib/security/UnlimitedJCEPolicy_README.txt
rmdir UnlimitedJCEPolicy
cat >$PREFIX/profile <<-EOF
PATH=$PREFIX/bin:\$PATH
EOF