buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbo...@apache.org
Subject svn commit: r799172 - /buildr/trunk/lib/buildr/core/util.rb
Date Thu, 30 Jul 2009 05:35:01 GMT
Author: vborja
Date: Thu Jul 30 05:35:00 2009
New Revision: 799172

URL: http://svn.apache.org/viewvc?rev=799172&view=rev
Log:
BUILDR-292. rm source file not the destination.

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=799172&r1=799171&r2=799172&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/util.rb (original)
+++ buildr/trunk/lib/buildr/core/util.rb Thu Jul 30 05:35:00 2009
@@ -324,7 +324,7 @@
         dir_from = File.dirname(from)
         if File.stat(dir_from).dev != File.stat(dir_to).dev
           cp from, to, options
-          rm to, options
+          rm from, options
         else
           __mv_native from, to, options
         end



Mime
View raw message