[DRE-commits] [homesick] 06/07: Add 02-remove-load-path.patch: Remove LOAD_PATH manipulation.

Alexander GQ Gerasiov gq at moszumanska.debian.org
Thu Feb 19 13:41:32 UTC 2015


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

gq pushed a commit to branch master
in repository homesick.

commit 7e663ba774a1247c26ac3cf40bce6020ae2df8bb
Author: Alexander GQ Gerasiov <gq at cs.msu.su>
Date:   Thu Feb 19 16:23:24 2015 +0300

    Add 02-remove-load-path.patch: Remove LOAD_PATH manipulation.
    
    Signed-off-by: Alexander GQ Gerasiov <gq at cs.msu.su>
---
 debian/patches/02-remove-load-path.patch | 17 +++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/02-remove-load-path.patch b/debian/patches/02-remove-load-path.patch
new file mode 100644
index 0000000..73dd721
--- /dev/null
+++ b/debian/patches/02-remove-load-path.patch
@@ -0,0 +1,17 @@
+Description: Remove LOAD_PATH tricks.
+Author: Alexander Gerasiov <gq at debian.org>
+Last-Update: 2015-02-19
+Index: homesick/bin/homesick
+===================================================================
+--- homesick.orig/bin/homesick	2015-02-15 21:45:27.084573180 +0300
++++ homesick/bin/homesick	2015-02-19 03:03:19.087370396 +0300
+@@ -1,9 +1,5 @@
+ #!/usr/bin/env ruby
+ 
+-require 'pathname'
+-lib = Pathname.new(__FILE__).dirname.join('..', 'lib').expand_path
+-$LOAD_PATH.unshift lib.to_s
+-
+ require 'homesick'
+ 
+ Homesick::CLI.start
diff --git a/debian/patches/series b/debian/patches/series
index 5b27247..e328380 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-fix-rspec2.x-imcompat.patch
+02-remove-load-path.patch

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



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