aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-10-22 14:05:19 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-10-23 10:38:04 +0200
commit5e56813d2d3cf8dc54850013c2f7dc41ec26d984 (patch)
tree96ffb2791657317a4cfbce1c15ba1aec2379da83 /bin
parent73f725c361a8d990d698c0aeb6889e272759ebeb (diff)
downloaddotty-5e56813d2d3cf8dc54850013c2f7dc41ec26d984.tar.gz
dotty-5e56813d2d3cf8dc54850013c2f7dc41ec26d984.tar.bz2
dotty-5e56813d2d3cf8dc54850013c2f7dc41ec26d984.zip
Fix bug in dotc script.
Used to always use bootstrapped version
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dotc2
1 files changed, 1 insertions, 1 deletions
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