[DRE-commits] [gemwatch] 01/01: fix system() call

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Aug 6 14:51:11 UTC 2015


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

terceiro pushed a commit to branch master
in repository gemwatch.

commit 620222efb8d1db58996a6fa456abb8e41625965e
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Aug 6 11:48:09 2015 -0300

    fix system() call
---
 gemwatch.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gemwatch.rb b/gemwatch.rb
index 1e4cd4a..9723220 100644
--- a/gemwatch.rb
+++ b/gemwatch.rb
@@ -88,7 +88,7 @@ class GemWatch::Gem
     File.basename(uri)
   end
   def run(cmd)
-    system(cmd)
+    system(*cmd)
     if $? && ($? >> 8) > 0
       raise GemWatch::Gem::CommandFailed, "[#{cmd} failed!]"
     end

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



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