mirror of https://github.com/sbt/sbt.git
**Problem** When you pass -sbt-dir "/Users/a' dog" on the command line, the launcher correctly produces: -Dsbt.global.base=/Users/a' dog But when you put the same option into .sbtopts, the launcher previously split the line on spaces without respecting quotes, so the resulting -Dsbt.global.base was truncated (for example, -Dsbt.global.base=/Users/a'). This made .sbtopts behavior inconsistent with CLI behavior and broke setups where the global sbt directory path contains spaces and an embedded quote. |
||
|---|---|---|
| .. | ||
| bin | ||
| src/test/scala | ||