Skip to content

Commit 3c6f28b

Browse files
committed
Merge pull request #852 from dotty-staging/fix-script
Fix bug in dotc script
2 parents 73f725c + 1f91312 commit 3c6f28b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bin/dotc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ trap onExit INT
192192
# If using the boot classpath, also pass an empty classpath
193193
# to java to suppress "." from materializing.
194194
classpathArgs () {
195-
if [[ -n $bootstrapped ]]; then
195+
if [[ "true" == $bootstrapped ]]; then
196196
checkjar $DOTTY_JAR "test:runMain dotc.build" src
197197
toolchain="$DOTTY_JAR:$SCALA_LIBRARY_JAR:$SCALA_REFLECT_JAR:$SCALA_COMPILER_JAR:$JLINE_JAR"
198198
else

test/dotc/build.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ object build extends tests {
1919
}
2020

2121
def main(args: Array[String]): Unit = {
22+
println("------------ Building dotty ------------")
2223
deleteFilesInFolder(new File(defaultOutputDir)) // clear previous output
2324
dotty // build output dir
2425
val p = Runtime.getRuntime.exec(Array("jar", "cf", "dotty.jar", "-C", "out", "."))

0 commit comments

Comments
 (0)