From bc89d4975f8dbb2ed241fa4c4f10fd835b9d2618 Mon Sep 17 00:00:00 2001 From: grzesuav Date: Sun, 23 Feb 2020 17:59:17 +0100 Subject: [PATCH] chore(shellcheck): Fix typo --- 10/jdk/alpine/slim-java.sh | 4 ++-- 10/jdk/ubuntu/slim-java.sh | 4 ++-- 11/jdk/alpine/slim-java.sh | 4 ++-- 11/jdk/centos/slim-java.sh | 4 ++-- 11/jdk/clefos/slim-java.sh | 4 ++-- 11/jdk/debian/slim-java.sh | 4 ++-- 11/jdk/ubi/slim-java.sh | 4 ++-- 11/jdk/ubuntu/slim-java.sh | 4 ++-- 12/jdk/alpine/slim-java.sh | 4 ++-- 12/jdk/debian/slim-java.sh | 4 ++-- 12/jdk/ubuntu/slim-java.sh | 4 ++-- 13/jdk/alpine/slim-java.sh | 4 ++-- 13/jdk/centos/slim-java.sh | 4 ++-- 13/jdk/clefos/slim-java.sh | 2 +- 13/jdk/debian/slim-java.sh | 4 ++-- 13/jdk/ubi/slim-java.sh | 4 ++-- 13/jdk/ubuntu/slim-java.sh | 4 ++-- 8/jdk/alpine/slim-java.sh | 4 ++-- 8/jdk/centos/slim-java.sh | 4 ++-- 8/jdk/clefos/slim-java.sh | 4 ++-- 8/jdk/debian/slim-java.sh | 4 ++-- 8/jdk/ubi/slim-java.sh | 4 ++-- 8/jdk/ubuntu/slim-java.sh | 4 ++-- 9/jdk/alpine/slim-java.sh | 4 ++-- 9/jdk/ubuntu/slim-java.sh | 4 ++-- slim-java.sh | 4 ++-- 26 files changed, 51 insertions(+), 51 deletions(-) diff --git a/10/jdk/alpine/slim-java.sh b/10/jdk/alpine/slim-java.sh index 301ea9615..356ed752d 100755 --- a/10/jdk/alpine/slim-java.sh +++ b/10/jdk/alpine/slim-java.sh @@ -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 @@ -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 diff --git a/10/jdk/ubuntu/slim-java.sh b/10/jdk/ubuntu/slim-java.sh index 301ea9615..356ed752d 100755 --- a/10/jdk/ubuntu/slim-java.sh +++ b/10/jdk/ubuntu/slim-java.sh @@ -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 @@ -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 diff --git a/11/jdk/alpine/slim-java.sh b/11/jdk/alpine/slim-java.sh index 301ea9615..356ed752d 100755 --- a/11/jdk/alpine/slim-java.sh +++ b/11/jdk/alpine/slim-java.sh @@ -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 @@ -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 diff --git a/11/jdk/centos/slim-java.sh b/11/jdk/centos/slim-java.sh index 301ea9615..356ed752d 100755 --- a/11/jdk/centos/slim-java.sh +++ b/11/jdk/centos/slim-java.sh @@ -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 @@ -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 diff --git a/11/jdk/clefos/slim-java.sh b/11/jdk/clefos/slim-java.sh index 301ea9615..356ed752d 100755 --- a/11/jdk/clefos/slim-java.sh +++ b/11/jdk/clefos/slim-java.sh @@ -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 @@ -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 diff --git a/11/jdk/debian/slim-java.sh b/11/jdk/debian/slim-java.sh index 301ea9615..356ed752d 100755 --- a/11/jdk/debian/slim-java.sh +++ b/11/jdk/debian/slim-java.sh @@ -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 @@ -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 diff --git a/11/jdk/ubi/slim-java.sh b/11/jdk/ubi/slim-java.sh index 301ea9615..356ed752d 100755 --- a/11/jdk/ubi/slim-java.sh +++ b/11/jdk/ubi/slim-java.sh @@ -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 @@ -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 diff --git a/11/jdk/ubuntu/slim-java.sh b/11/jdk/ubuntu/slim-java.sh index 301ea9615..356ed752d 100755 --- a/11/jdk/ubuntu/slim-java.sh +++ b/11/jdk/ubuntu/slim-java.sh @@ -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 @@ -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 diff --git a/12/jdk/alpine/slim-java.sh b/12/jdk/alpine/slim-java.sh index 301ea9615..356ed752d 100755 --- a/12/jdk/alpine/slim-java.sh +++ b/12/jdk/alpine/slim-java.sh @@ -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 @@ -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 diff --git a/12/jdk/debian/slim-java.sh b/12/jdk/debian/slim-java.sh index 301ea9615..356ed752d 100755 --- a/12/jdk/debian/slim-java.sh +++ b/12/jdk/debian/slim-java.sh @@ -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 @@ -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 diff --git a/12/jdk/ubuntu/slim-java.sh b/12/jdk/ubuntu/slim-java.sh index 301ea9615..356ed752d 100755 --- a/12/jdk/ubuntu/slim-java.sh +++ b/12/jdk/ubuntu/slim-java.sh @@ -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 @@ -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 diff --git a/13/jdk/alpine/slim-java.sh b/13/jdk/alpine/slim-java.sh index 301ea9615..356ed752d 100755 --- a/13/jdk/alpine/slim-java.sh +++ b/13/jdk/alpine/slim-java.sh @@ -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 @@ -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 diff --git a/13/jdk/centos/slim-java.sh b/13/jdk/centos/slim-java.sh index 301ea9615..356ed752d 100755 --- a/13/jdk/centos/slim-java.sh +++ b/13/jdk/centos/slim-java.sh @@ -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 @@ -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 diff --git a/13/jdk/clefos/slim-java.sh b/13/jdk/clefos/slim-java.sh index 0c048a693..356ed752d 100755 --- a/13/jdk/clefos/slim-java.sh +++ b/13/jdk/clefos/slim-java.sh @@ -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 diff --git a/13/jdk/debian/slim-java.sh b/13/jdk/debian/slim-java.sh index 301ea9615..356ed752d 100755 --- a/13/jdk/debian/slim-java.sh +++ b/13/jdk/debian/slim-java.sh @@ -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 @@ -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 diff --git a/13/jdk/ubi/slim-java.sh b/13/jdk/ubi/slim-java.sh index 301ea9615..356ed752d 100755 --- a/13/jdk/ubi/slim-java.sh +++ b/13/jdk/ubi/slim-java.sh @@ -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 @@ -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 diff --git a/13/jdk/ubuntu/slim-java.sh b/13/jdk/ubuntu/slim-java.sh index 301ea9615..356ed752d 100755 --- a/13/jdk/ubuntu/slim-java.sh +++ b/13/jdk/ubuntu/slim-java.sh @@ -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 @@ -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 diff --git a/8/jdk/alpine/slim-java.sh b/8/jdk/alpine/slim-java.sh index 301ea9615..356ed752d 100755 --- a/8/jdk/alpine/slim-java.sh +++ b/8/jdk/alpine/slim-java.sh @@ -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 @@ -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 diff --git a/8/jdk/centos/slim-java.sh b/8/jdk/centos/slim-java.sh index 301ea9615..356ed752d 100755 --- a/8/jdk/centos/slim-java.sh +++ b/8/jdk/centos/slim-java.sh @@ -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 @@ -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 diff --git a/8/jdk/clefos/slim-java.sh b/8/jdk/clefos/slim-java.sh index 301ea9615..356ed752d 100755 --- a/8/jdk/clefos/slim-java.sh +++ b/8/jdk/clefos/slim-java.sh @@ -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 @@ -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 diff --git a/8/jdk/debian/slim-java.sh b/8/jdk/debian/slim-java.sh index 301ea9615..356ed752d 100755 --- a/8/jdk/debian/slim-java.sh +++ b/8/jdk/debian/slim-java.sh @@ -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 @@ -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 diff --git a/8/jdk/ubi/slim-java.sh b/8/jdk/ubi/slim-java.sh index 301ea9615..356ed752d 100755 --- a/8/jdk/ubi/slim-java.sh +++ b/8/jdk/ubi/slim-java.sh @@ -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 @@ -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 diff --git a/8/jdk/ubuntu/slim-java.sh b/8/jdk/ubuntu/slim-java.sh index 301ea9615..356ed752d 100755 --- a/8/jdk/ubuntu/slim-java.sh +++ b/8/jdk/ubuntu/slim-java.sh @@ -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 @@ -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 diff --git a/9/jdk/alpine/slim-java.sh b/9/jdk/alpine/slim-java.sh index 301ea9615..356ed752d 100755 --- a/9/jdk/alpine/slim-java.sh +++ b/9/jdk/alpine/slim-java.sh @@ -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 @@ -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 diff --git a/9/jdk/ubuntu/slim-java.sh b/9/jdk/ubuntu/slim-java.sh index 301ea9615..356ed752d 100755 --- a/9/jdk/ubuntu/slim-java.sh +++ b/9/jdk/ubuntu/slim-java.sh @@ -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 @@ -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 diff --git a/slim-java.sh b/slim-java.sh index 301ea9615..356ed752d 100755 --- a/slim-java.sh +++ b/slim-java.sh @@ -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 @@ -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