[DRE-commits] [gem2deb] 01/03: Remove direct call to system()

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Nov 21 18:00:02 UTC 2013


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

terceiro pushed a commit to branch master
in repository gem2deb.

commit 462d3abe6d291d088da5dd49cc6565627e072db2
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Nov 20 14:42:11 2013 -0300

    Remove direct call to system()
    
    Git-Dch: Ignore
---
 lib/gem2deb/dh_ruby.rb |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/gem2deb/dh_ruby.rb b/lib/gem2deb/dh_ruby.rb
index 0104b84..604ebf6 100644
--- a/lib/gem2deb/dh_ruby.rb
+++ b/lib/gem2deb/dh_ruby.rb
@@ -136,8 +136,7 @@ module Gem2Deb
       end
 
       cmd = "#{SUPPORTED_RUBY_VERSIONS[rubyver]} -I#{LIBDIR} #{TEST_RUNNER}"
-      puts(cmd) if $VERBOSE
-      system(cmd)
+      run(cmd)
 
       if $?.exitstatus != 0
         handle_test_failure(rubyver)

-- 
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