mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Propagate RUBY-5703 fix
This commit is contained in:
@@ -21,9 +21,15 @@ fi
|
||||
# Ensure the PYCHARM_HOME var for this script points to the
|
||||
# home directory where PyCharm is installed on your system.
|
||||
|
||||
PYCHARM_HOME=`dirname "$0"`/..
|
||||
PYCHARM_BIN_HOME=`dirname "$0"`
|
||||
|
||||
SCRIPT_LOCATION=$0
|
||||
# Step through symlinks to find where the script really is
|
||||
while [ -L $SCRIPT_LOCATION ]; do
|
||||
SCRIPT_LOCATION=`readlink -e $SCRIPT_LOCATION`
|
||||
done
|
||||
|
||||
PYCHARM_HOME=`dirname $SCRIPT_LOCATION`/..
|
||||
PYCHARM_BIN_HOME=`dirname $SCRIPT_LOCATION`
|
||||
|
||||
export JAVA_HOME
|
||||
export PYCHARM_HOME
|
||||
|
||||
|
||||
Reference in New Issue
Block a user