buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boisv...@apache.org
Subject svn commit: r821337 - /buildr/trunk/lib/buildr/core/util.rb
Date Sat, 03 Oct 2009 15:30:41 GMT
Author: boisvert
Date: Sat Oct  3 15:30:40 2009
New Revision: 821337

URL: http://svn.apache.org/viewvc?rev=821337&view=rev
Log:
sh() &block expects a boolean as first arg

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

Modified: buildr/trunk/lib/buildr/core/util.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/util.rb?rev=821337&r1=821336&r2=821337&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/util.rb (original)
+++ buildr/trunk/lib/buildr/core/util.rb Sat Oct  3 15:30:40 2009
@@ -439,8 +439,7 @@
           __native_system__(cd + cmd.first + ' ' + arg_str.join(' '))
         end
         $? = Buildr::ProcessStatus.new(0, res == 0, res)    # KLUDGE
-        
-        block.call(res, $?)
+        block.call(res == 0, $?)
       end
     end
 



Mime
View raw message