FreeBSD Bugzilla – Attachment 206349 Details for
Bug 239705
java/javavmwrapper: Fix pkg-install
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] fix javavmwrapper/files/pkg-install.in for globbing problem & insufficient bootstrap-openjdk exclusion pattern
pr-javavmwrapper-fix-pkg-install.diff (text/plain), 928 bytes, created by
John Hein
on 2019-08-08 04:17:19 UTC
(
hide
)
Description:
[patch] fix javavmwrapper/files/pkg-install.in for globbing problem & insufficient bootstrap-openjdk exclusion pattern
Filename:
MIME Type:
Creator:
John Hein
Created:
2019-08-08 04:17:19 UTC
Size:
928 bytes
patch
obsolete
>Index: files/pkg-install.in >=================================================================== >--- files/pkg-install.in (revision 507953) >+++ files/pkg-install.in (working copy) >@@ -10,16 +10,19 @@ > fi > > # Ensure all JDKs and JREs are installed >-_excl_dirs='bootstrap-openjdk' >+jdirs=$(cd "${LOCALBASE}" && find *jdk* *jre* -depth 0 -type d 2> /dev/null) >+set -o noglob >+_excl_dirs='bootstrap-openjdk.*' > _find_expr='-depth 2 -regex .*/bin/java' > for dir in ${_excl_dirs}; do > _find_expr="${_find_expr} ! -regex ${dir}/bin/java" > done >-for jvm in `cd "${LOCALBASE}" && find *jdk* *jre* ${_find_expr} 2> /dev/null`; do >+for jvm in `cd "${LOCALBASE}" && find $jdirs ${_find_expr} 2> /dev/null`; do > if [ -x "${LOCALBASE}/${jvm}" ]; then > "${PKG_PREFIX}"/bin/registervm "${LOCALBASE}/${jvm}" > /dev/null 2>&1 > fi > done >+set +o noglob > > # Ensure all VMs are configured correctly > "${PKG_PREFIX}"/bin/checkvms
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jcfyecrayz
:
maintainer-approval?
(
glewis
)
Actions:
View
|
Diff
Attachments on
bug 239705
: 206349