You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/10/02 00:37:10 UTC

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

Author: donaldp
Date: Tue Oct  1 22:37:10 2013
New Revision: 1528238

URL: http://svn.apache.org/r1528238
Log:
Simplify conditional

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=1528238&r1=1528237&r2=1528238&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/shell.rb (original)
+++ buildr/trunk/lib/buildr/core/shell.rb Tue Oct  1 22:37:10 2013
@@ -66,7 +66,7 @@ module Buildr #:nodoc:
           props.merge! jrebel_props(project)
           props.merge! task.properties
 
-          if not Util.win_os?
+          unless Util.win_os?
             uname = `uname -m`
             cpu = if uname =~ /i[34567]86/
               'i386'