File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ object Build {
635
635
def insertClasspathInArgs (args : List [String ], cp : String ): List [String ] = {
636
636
val (beforeCp, fromCp) = args.span(_ != " -classpath" )
637
637
val classpath = fromCp.drop(1 ).headOption.fold(cp)(_ + " :" + cp)
638
- beforeCp ::: " -classpath" :: classpath :: fromCp.drop(2 )
638
+ " -classpath" :: classpath :: beforeCp : :: fromCp.drop(2 )
639
639
}
640
640
641
641
lazy val nonBootstrapedDottyCompilerSettings = commonDottyCompilerSettings ++ Seq (
Original file line number Diff line number Diff line change @@ -23,3 +23,12 @@ if grep -e "dotr test ok" sbtdotr2.out; then
23
23
else
24
24
exit -1
25
25
fi
26
+ echo " testing sbt dotr with no -classpath"
27
+ pushd out/scriptedtest2/
28
+ ./project/scripts/sbt " dotr dotrtest.Test" > sbtdotr2-2.out
29
+ if grep -e " dotr test ok" sbtdotr2-2.out; then
30
+ echo " output ok"
31
+ else
32
+ exit -1
33
+ fi
34
+ pop
You can’t perform that action at this time.
0 commit comments