[DRE-commits] [gem2deb] 01/01: dh_ruby: don't try to split nil

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jul 31 12:48:32 UTC 2015


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

terceiro pushed a commit to branch master
in repository gem2deb.

commit 3445a10b2601d7fa89363232b46771c41d537e04
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Jul 31 09:45:58 2015 -0300

    dh_ruby: don't try to split nil
---
 lib/gem2deb/dh_ruby.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/gem2deb/dh_ruby.rb b/lib/gem2deb/dh_ruby.rb
index 7440283..44e46c8 100644
--- a/lib/gem2deb/dh_ruby.rb
+++ b/lib/gem2deb/dh_ruby.rb
@@ -134,6 +134,7 @@ module Gem2Deb
 
     def interactive
       STDIN.isatty && STDOUT.isatty && STDERR.isatty &&
+        ENV['DEB_BUILD_OPTIONS'] &&
         ENV['DEB_BUILD_OPTIONS'].split.include?('dh_ruby_interactive')
     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