[DRE-commits] [ruby-dbf] 01/01: rewrite shebang to use -s ruby flag (Closes: #731184)
Cédric Boutillier
boutil at moszumanska.debian.org
Tue Dec 3 21:25:40 UTC 2013
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-dbf.
commit 098fe330110d229d2fb2788b788f2aad8fffa291
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue Dec 3 21:52:05 2013 +0100
rewrite shebang to use -s ruby flag (Closes: #731184)
---
debian/changelog | 8 ++++++++
debian/rules | 4 +++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index be6860c..0b82a32 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-dbf (2.0.6-2) unstable; urgency=low
+
+ * Team upload.
+ * Rewrite shebang of /usr/bin/dbf-rb, to be able to use -s ruby switch.
+ (Closes: #731184)
+
+ -- Cédric Boutillier <boutil at debian.org> Tue, 03 Dec 2013 18:44:57 +0100
+
ruby-dbf (2.0.6-1) unstable; urgency=low
* Team upload
diff --git a/debian/rules b/debian/rules
index f84bb06..4f5574d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,4 +20,6 @@ override_dh_installchangelogs:
override_dh_auto_install:
dh_auto_install -O--buildsystem=ruby
mv debian/ruby-dbf/usr/bin/dbf debian/ruby-dbf/usr/bin/dbf-rb
- sed -i '1s/$$/ -s/' debian/ruby-dbf/usr/bin/dbf-rb
+ # hack to be able to use the -s flag from ruby's interpreter
+ # https://github.com/infused/dbf/issues/60
+ sed -i '1s/env ruby/ruby -s/' debian/ruby-dbf/usr/bin/dbf-rb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-dbf.git
More information about the Pkg-ruby-extras-commits
mailing list