mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
pass a real working dir path
This commit is contained in:
@@ -21,6 +21,7 @@ if [ -z "$UNAME" -o -z "$GREP" -o -z "$CUT" -o -z "$MKTEMP" -o -z "$RM" -o -z "$
|
||||
fi
|
||||
|
||||
OS_TYPE=`"$UNAME" -s`
|
||||
WORKING_DIR=`pwd`
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Locate a JDK installation directory which will be used to run the IDE.
|
||||
@@ -140,6 +141,8 @@ if [ -r "$VM_OPTIONS_FILE" ]; then
|
||||
VM_OPTIONS="$VM_OPTIONS -Djb.vmOptionsFile=\"$VM_OPTIONS_FILE\""
|
||||
fi
|
||||
|
||||
VM_OPTIONS="$VM_OPTIONS -Doriginal.working.dir=\"$WORKING_DIR\""
|
||||
|
||||
IS_EAP="@@isEap@@"
|
||||
if [ "$IS_EAP" = "true" ]; then
|
||||
OS_NAME=`echo $OS_TYPE | "$TR" '[:upper:]' '[:lower:]'`
|
||||
|
||||
Reference in New Issue
Block a user