mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 23:47:37 -04:00
lightweight profiling capabilities. Designed for both production and development time use, it further enhances the capability of monitoring and performance analysis for the Java SE platform. WWW: http://visualvm.java.net/
28 lines
842 B
Text
28 lines
842 B
Text
--- bin/visualvm.orig 2013-01-25 03:07:46.000000000 +0000
|
|
+++ bin/visualvm 2013-01-25 21:16:29.679381279 +0000
|
|
@@ -66,6 +66,7 @@
|
|
cd "$old"
|
|
. "$progdir"/../lib/visualvm/etc/visualvm.conf
|
|
elif [ -f "$progdir"/../etc/visualvm.conf ] ; then
|
|
+ visualvm_jdkhome="%%JAVA_HOME%%"
|
|
. "$progdir"/../etc/visualvm.conf
|
|
fi
|
|
|
|
@@ -110,7 +111,7 @@
|
|
if expr "$X" : "/.*" >/dev/null; then
|
|
echo "$X"
|
|
else
|
|
- echo "$basedir/$X"
|
|
+ echo "$basedir/share/visualvm/$X"
|
|
fi
|
|
done
|
|
}
|
|
@@ -184,7 +185,7 @@
|
|
fi
|
|
done | head -n 1`
|
|
if [ \! -n "$nbexec" ] ; then
|
|
- nbexec="$basedir"/platform/lib/nbexec
|
|
+ nbexec="$basedir"/share/visualvm/platform/lib/nbexec
|
|
fi
|
|
sh=sh
|
|
# #73162: Ubuntu uses the ancient Bourne shell, which does not implement trap well.
|