mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] fixes IDE launch from a bin/ directory on Unix (IDEA-161265)
This commit is contained in:
@@ -51,7 +51,11 @@ if [ -x "$READLINK" ]; then
|
||||
fi
|
||||
|
||||
IDE_BIN_HOME=`dirname "$SCRIPT_LOCATION"`
|
||||
IDE_HOME=`dirname "$IDE_BIN_HOME"`
|
||||
if [ "$IDE_BIN_HOME" = "." ]; then
|
||||
IDE_HOME=".."
|
||||
else
|
||||
IDE_HOME=`dirname "$IDE_BIN_HOME"`
|
||||
fi
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Locate a JDK installation directory which will be used to run the IDE.
|
||||
|
||||
Reference in New Issue
Block a user