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/23 02:07:54 UTC

svn commit: r787490 - /buildr/trunk/lib/buildr/core/shell.rb

Author: djspiewak
Date: Tue Jun 23 00:07:54 2009
New Revision: 787490

URL: http://svn.apache.org/viewvc?rev=787490&view=rev
Log:
Fixed typo (Utils => Util)

Modified:
    buildr/trunk/lib/buildr/core/shell.rb

Modified: buildr/trunk/lib/buildr/core/shell.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/shell.rb?rev=787490&r1=787489&r2=787490&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/shell.rb (original)
+++ buildr/trunk/lib/buildr/core/shell.rb Tue Jun 23 00:07:54 2009
@@ -1,5 +1,6 @@
 require 'buildr/shell'
 require 'buildr/java/commands'
+require 'buildr/core/util'
 
 module Buildr
   module Shell
@@ -45,8 +46,8 @@
             props['jna.boot.library.path'] = "#{jruby_home}/lib/native/#{path}"
           end
           
-          props['jruby.script'] = if Utils.win_os? then 'jruby.bat' else 'jruby' end
-          props['jruby.shell'] = if Utils.win_os? then 'cmd.exe' else '/bin/sh' end
+          props['jruby.script'] = if Util.win_os? then 'jruby.bat' else 'jruby' end
+          props['jruby.shell'] = if Util.win_os? then 'cmd.exe' else '/bin/sh' end
           
           args = [
             "-Xbootclasspath/a:#{Dir.glob("#{jruby_home}#{File::SEPARATOR}lib#{File::SEPARATOR}jruby*.jar").join File::PATH_SEPARATOR}"