File: use_systemwide_installation

package info (click to toggle)
ruby-html2haml 2.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: ruby: 1,577; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Gunnar Wolf <gwolf@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)