[DRE-commits] [ruby-github-markdown] 03/09: don't play with in gfm script

Cédric Boutillier boutil at moszumanska.debian.org
Mon Apr 27 10:02:16 UTC 2015


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

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

commit bd1633d843116a6becb190b38c00502d5a0bebbf
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Apr 27 11:36:11 2015 +0200

    don't play with  in gfm script
---
 debian/patches/no_loadpath_trick_in_bin.patch | 19 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/no_loadpath_trick_in_bin.patch b/debian/patches/no_loadpath_trick_in_bin.patch
new file mode 100644
index 0000000..e28750d
--- /dev/null
+++ b/debian/patches/no_loadpath_trick_in_bin.patch
@@ -0,0 +1,19 @@
+Description: don't play with the LOAD_PATH variable
+ let the interpreter find the github/markdown library by itself
+ using system paths.
+Author: Cédric Boutillier
+Last-Update: 2015-04-27
+Forwarded: not-needed
+
+--- a/bin/gfm
++++ b/bin/gfm
+@@ -13,9 +13,6 @@
+   exit 0
+ end
+ 
+-root = File.expand_path('../../', __FILE__)
+-$:.unshift File.expand_path('lib', root)
+-
+ require 'github/markdown'
+ 
+ mode = :gfm
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3f67889
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no_loadpath_trick_in_bin.patch

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



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