1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

. Ignore errors from the call to registervm, otherwise one sees a whole

slew of spurious errors when upgrading the port.
This commit is contained in:
Greg Lewis 2005-04-11 21:21:16 +00:00
parent f4c8717dfa
commit 7ea5326d8e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133091

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD: /tmp/pcvs/ports/java/javavmwrapper/files/pkg-install.in,v 1.1 2004-12-16 15:38:17 glewis Exp $ # $FreeBSD: /tmp/pcvs/ports/java/javavmwrapper/files/pkg-install.in,v 1.2 2005-04-11 21:21:16 glewis Exp $
LOCALBASE=%%LOCALBASE%% LOCALBASE=%%LOCALBASE%%
@ -12,7 +12,7 @@ fi
# Ensure all JDKs and JREs are installed # Ensure all JDKs and JREs are installed
for jvm in "${LOCALBASE}"/*jdk* "${LOCALBASE}"/*jre*; do for jvm in "${LOCALBASE}"/*jdk* "${LOCALBASE}"/*jre*; do
if [ -x "${jvm}/bin/java" ]; then if [ -x "${jvm}/bin/java" ]; then
"${PKG_PREFIX}"/bin/registervm "${jvm}/bin/java" "${PKG_PREFIX}"/bin/registervm "${jvm}/bin/java" > /dev/null 2>&1
fi fi
done done