summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala b/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala
index 2ff3223ed9..a5849865c5 100644
--- a/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala
+++ b/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala
@@ -70,7 +70,7 @@ abstract class InteractiveTest {
def prepareSettings() {
import java.io.File._
def adjustPaths(paths: settings.PathSetting*) {
- for (p <- paths) p.value = p.value.map {
+ for (p <- paths if argsString.contains(p.name)) p.value = p.value.map {
case '/' => separatorChar
case ':' => pathSeparatorChar
case c => c