Skip to content

Commit

Permalink
chore(shellcheck): Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesuav committed Feb 26, 2020
1 parent 8b95e05 commit bc89d49
Show file tree
Hide file tree
Showing 26 changed files with 51 additions and 51 deletions.
4 changes: 2 additions & 2 deletions 10/jdk/alpine/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 10/jdk/ubuntu/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 11/jdk/alpine/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 11/jdk/centos/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 11/jdk/clefos/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 11/jdk/debian/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 11/jdk/ubi/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 11/jdk/ubuntu/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 12/jdk/alpine/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 12/jdk/debian/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 12/jdk/ubuntu/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 13/jdk/alpine/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 13/jdk/centos/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
2 changes: 1 addition & 1 deletion 13/jdk/clefos/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 13/jdk/debian/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 13/jdk/ubi/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 13/jdk/ubuntu/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 8/jdk/alpine/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 8/jdk/centos/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 8/jdk/clefos/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 8/jdk/debian/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
4 changes: 2 additions & 2 deletions 8/jdk/ubi/slim-java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function jre_lib_files() {
# Derive arch from current platorm.
lib_arch_dir=$(parse_platform_specific)
if [ -d "${lib_arch_dir}" ]; then
pushd" ${lib_arch_dir}" >/dev/null
pushd "${lib_arch_dir}" >/dev/null
rm -rf classic/ libdeploy.so libjavaplugin_* libjsoundalsa.so libnpjp2.so libsplashscreen.so
# Only remove the default dir for 64bit versions
if [ "${proc_type}" == "64bit" ]; then
Expand Down Expand Up @@ -165,7 +165,7 @@ function rt_jar_classes() {
# 2.4 Remove classes in rt.jar
echo -n "INFO: Trimming classes in rt.jar..."
mkdir -p "${root}"/rt_class
pushd" ${root}"/rt_class >/dev/null || return
pushd "${root}"/rt_class >/dev/null || return
jar -xf "${root}"/jre/lib/rt.jar
mkdir -p" ${root}"/rt_keep_class
grep -v '^#' < "${keep_list}" | while IFS= read -r class
Expand Down
Loading

0 comments on commit bc89d49

Please sign in to comment.