[DRE-commits] [gem2deb] 01/05: dh_ruby: take parameters from $DH_RUBY
Antonio Terceiro
terceiro at moszumanska.debian.org
Fri Nov 13 16:37:58 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 5a2590d15f0b80e91e392f990850c4b223882b17
Author: Antonio Terceiro <terceiro at debian.org>
Date: Wed Nov 11 14:49:56 2015 -0200
dh_ruby: take parameters from $DH_RUBY
---
bin/dh_ruby | 7 +++++++
debian/changelog | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/bin/dh_ruby b/bin/dh_ruby
index d7d8fce..805f5f6 100755
--- a/bin/dh_ruby
+++ b/bin/dh_ruby
@@ -19,8 +19,15 @@ require 'gem2deb'
require 'gem2deb/dh_ruby'
require 'gem2deb/setup_rb_installer'
require 'optparse'
+require 'shellwords'
include Gem2Deb
+if ENV['DH_RUBY']
+ opts = Shellwords.split(ENV['DH_RUBY'])
+ ARGV.unshift(*opts)
+end
+
+
engine = Gem2Deb::DhRuby.new
optparse = OptionParser.new do |opts|
diff --git a/debian/changelog b/debian/changelog
index b7aca8e..61ef996 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gem2deb (0.23) UNRELEASED; urgency=medium
+
+ * dh_ruby:
+ - take parameters from the $DH_RUBY environment variable
+
+ -- Antonio Terceiro <terceiro at debian.org> Wed, 11 Nov 2015 14:50:13 -0200
+
gem2deb (0.22.1) unstable; urgency=medium
* Skip integration tests during the build. When buildind only architecture
--
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