Skip to content

Commit 0104ab7

Browse files
committed
make sure launcher handles space in the path correctly
1 parent 68445b0 commit 0104ab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visualvm/launcher/visualvm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ while [ -h "$PRG" ]; do
3838
fi
3939
done
4040

41-
if [ -f `dirname "$PRG"`/../Resources/visualvm/etc/visualvm.conf ] ; then
42-
PRG=`dirname "$PRG"`/../Resources/visualvm/bin/visualvm
41+
if [ -f "`dirname "$PRG"`/../Resources/visualvm/etc/visualvm.conf" ] ; then
42+
PRG="`dirname "$PRG"`/../Resources/visualvm/bin/visualvm"
4343
fi
4444

4545
progdir=`dirname "$PRG"`

0 commit comments

Comments
 (0)