File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,9 @@ SBT_INTF=$(find_lib "*compiler-interface*")
159
159
JLINE_READER=$( find_lib " *jline-reader-3*" )
160
160
JLINE_TERMINAL=$( find_lib " *jline-terminal-3*" )
161
161
JLINE_TERMINAL_JNA=$( find_lib " *jline-terminal-jna-3*" )
162
- [[ ${conemu-} ]] || JNA=$( find_lib " *jna-5*" )
163
162
163
+ # jna-5 only appropriate for some combinations
164
+ [[ ${conemu-} && ${msys-} ]] || JNA=$( find_lib " *jna-5*" )
164
165
165
166
compilerJavaClasspathArgs () {
166
167
# echo "dotty-compiler: $DOTTY_COMP"
Original file line number Diff line number Diff line change @@ -67,8 +67,10 @@ if [ "$PROG_NAME" == "$ScriptingMain" ]; then
67
67
scripting_string=" -script $target_script ${scripting_args[@]} "
68
68
fi
69
69
70
- # exec here would prevent onExit from being called, leaving terminal in unusable state
71
70
[ -n " $script_trace " ] && set -x
71
+ [ -z " ${ConEmuPID-} " -o -n " ${cygwin-} " ] && export MSYSTEM= PWD= # workaround for #12405
72
+
73
+ # exec here would prevent onExit from being called, leaving terminal in unusable state
72
74
eval " \" $JAVACMD \" " \
73
75
${JAVA_OPTS:- $default_java_opts } \
74
76
" ${java_args[@]} " \
You can’t perform that action at this time.
0 commit comments