You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by dj...@apache.org on 2009/06/19 23:52:59 UTC

svn commit: r786679 - /buildr/trunk/lib/buildr/scala/compiler.rb

Author: djspiewak
Date: Fri Jun 19 21:52:59 2009
New Revision: 786679

URL: http://svn.apache.org/viewvc?rev=786679&view=rev
Log:
Shouldn't use FSC if we had to grab Scala from a repo

Modified:
    buildr/trunk/lib/buildr/scala/compiler.rb

Modified: buildr/trunk/lib/buildr/scala/compiler.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/scala/compiler.rb?rev=786679&r1=786678&r2=786679&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/scala/compiler.rb (original)
+++ buildr/trunk/lib/buildr/scala/compiler.rb Fri Jun 19 21:52:59 2009
@@ -80,7 +80,7 @@
       end
 
       def use_fsc
-        ENV["USE_FSC"] =~ /^(yes|on|true)$/i
+        installed? && ENV["USE_FSC"] =~ /^(yes|on|true)$/i
       end
       
       def applies_to?(project, task) #:nodoc: