[DRE-commits] [ruby-heckle] 07/15: add no-loadpath-manipulation.patch

Cédric Boutillier boutil at moszumanska.debian.org
Thu Dec 19 13:39:33 UTC 2013


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

boutil pushed a commit to branch master
in repository ruby-heckle.

commit 27acf9b55dd5296f4fb36d19ed82d80a1bb09f6e
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu Dec 19 13:48:51 2013 +0100

    add no-loadpath-manipulation.patch
---
 debian/patches/no-loadpath-manipulation.patch | 17 +++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/no-loadpath-manipulation.patch b/debian/patches/no-loadpath-manipulation.patch
new file mode 100644
index 0000000..2772c2a
--- /dev/null
+++ b/debian/patches/no-loadpath-manipulation.patch
@@ -0,0 +1,17 @@
+Description: do not modify the LOAD_PATH to find the library
+Author: Cédric Boutillier <boutil at debian.org>
+Origin: vendor
+Forwarded: no
+Last-Update: 2013-12-19
+
+--- a/bin/heckle
++++ b/bin/heckle
+@@ -1,8 +1,5 @@
+ #!/usr/bin/env ruby
+ 
+-$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
+-$LOAD_PATH << 'lib'
+-
+ require 'heckle_runner'
+ 
+ exit HeckleRunner.run
diff --git a/debian/patches/series b/debian/patches/series
index 7dccecc..11462ff 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 11_no-rubygems
 13_optional-zentest
+no-loadpath-manipulation.patch

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



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