We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9cdfdb commit db4b8edCopy full SHA for db4b8ed
dist/bin/dotr
@@ -58,16 +58,16 @@ done
58
59
if [ $run_repl == true ] || [ ${#residual_args[@]} -eq 0 ]; then
60
if [ "$CLASS_PATH" ]; then
61
- cp_arg="-classpath $CLASS_PATH"
+ cp_arg="-classpath \"$CLASS_PATH\""
62
fi
63
echo "Starting dotty REPL..."
64
- eval "$PROG_HOME/bin/dotc $cp_arg -repl ${residual_args[@]}"
+ eval "\"$PROG_HOME/bin/dotc\" $cp_arg -repl ${residual_args[@]}"
65
else
66
- cp_arg="-classpath $DOTTY_LIB$PSEP$SCALA_LIB"
+ cp_arg="$DOTTY_LIB$PSEP$SCALA_LIB"
67
if [ -z "$CLASS_PATH" ]; then
68
cp_arg+="$PSEP."
69
70
cp_arg+="$PSEP$CLASS_PATH"
71
72
- eval exec "\"$JAVACMD\"" "$DEBUG" "$cp_arg" "${residual_args[@]}"
+ eval exec "\"$JAVACMD\"" "$DEBUG" "-classpath \"$cp_arg\"" "${residual_args[@]}"
73
0 commit comments