[DRE-commits] [gem2deb] 05/06: fix setup.rb restauration

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Dec 20 15:10:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit 514df554a3541f7275fdb5b4a208d66bc56b77b2
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Dec 20 13:01:27 2014 -0200

    fix setup.rb restauration
---
 lib/gem2deb/setup_rb_installer.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/gem2deb/setup_rb_installer.rb b/lib/gem2deb/setup_rb_installer.rb
index fd1eb68..78d263c 100644
--- a/lib/gem2deb/setup_rb_installer.rb
+++ b/lib/gem2deb/setup_rb_installer.rb
@@ -61,7 +61,7 @@ module Gem2Deb
       ensure
         run('rm', '-f', 'setup.rb')
         if File.exists?('setup.rb.gem2deb-orig')
-          run('mv setup.rb.gem2deb-orig', 'setup.rb')
+          run('mv', 'setup.rb.gem2deb-orig', 'setup.rb')
         end
       end
     end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list