From 5e56813d2d3cf8dc54850013c2f7dc41ec26d984 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Thu, 22 Oct 2015 14:05:19 +0200 Subject: Fix bug in dotc script. Used to always use bootstrapped version --- bin/dotc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/dotc b/bin/dotc index aa8a9e44a..7b90b5220 100755 --- a/bin/dotc +++ b/bin/dotc @@ -192,7 +192,7 @@ trap onExit INT # If using the boot classpath, also pass an empty classpath # to java to suppress "." from materializing. classpathArgs () { - if [[ -n $bootstrapped ]]; then + if [[ "true" == $bootstrapped ]]; then checkjar $DOTTY_JAR "test:runMain dotc.build" src toolchain="$DOTTY_JAR:$SCALA_LIBRARY_JAR:$SCALA_REFLECT_JAR:$SCALA_COMPILER_JAR:$JLINE_JAR" else -- cgit v1.2.3