[DRE-commits] [SCM] ruby-html2haml.git branch, master, updated. upstream/1.0.1-5-g9b6db54
Gunnar Wolf
gwolf at gwolf.org
Thu May 23 22:36:09 UTC 2013
The following commit has been merged in the master branch:
commit 9b6db54b8e3d40794a6b0e9c71bcae8e4c3d5625
Author: Gunnar Wolf <gwolf at gwolf.org>
Date: Thu May 23 17:33:32 2013 -0500
Use Ruby systemwide directories, not relative to the executable installation
diff --git a/debian/patches/series b/debian/patches/series
index a1dfb1a..c758431 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+use_systemwide_installation
no_rubygems_nor_bundler
fix_test_path
diff --git a/debian/patches/use_systemwide_installation b/debian/patches/use_systemwide_installation
new file mode 100644
index 0000000..8ce68cb
--- /dev/null
+++ b/debian/patches/use_systemwide_installation
@@ -0,0 +1,19 @@
+Author: Gunnar Wolf <gwolf at debian.org>
+Forwarded: not-needed
+Last-Update: 2013-05-23
+Description: We should use Ruby's default path
+ We should use Ruby's default path, irrespective on where the binary
+ is located.
+
+Index: ruby-html2haml/bin/html2haml
+===================================================================
+--- ruby-html2haml.orig/bin/html2haml 2013-05-23 16:39:45.000000000 -0500
++++ ruby-html2haml/bin/html2haml 2013-05-23 17:31:58.000000000 -0500
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env ruby
+
+-require File.dirname(__FILE__) + '/../lib/html2haml'
++require 'html2haml'
+ require 'html2haml/exec'
+
+ opts = Html2haml::Exec::HTML2Haml.new(ARGV)
--
ruby-html2haml.git
More information about the Pkg-ruby-extras-commits
mailing list