File: 0001-Hardwire-Debian-lib-path.patch

package info (click to toggle)
ruby-benchmark-suite 1.0.0%2Bgit.20130122.5bded6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd
  • size: 128 kB
  • ctags: 19
  • sloc: ruby: 291; makefile: 12
file content (23 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Per Andersson <avtobiff@gmail.com>
Date: Sun, 9 Jun 2013 17:51:39 +0200
Subject: Hardwire Debian lib path

---
 bin/benchmark |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/benchmark b/bin/benchmark
index 55a55e5..0e4e3d3 100755
--- a/bin/benchmark
+++ b/bin/benchmark
@@ -3,7 +3,9 @@
 require 'optparse'
 require 'tempfile'
 
-lib_path = File.expand_path("../../lib", __FILE__)
+#lib_path = File.expand_path("../../lib", __FILE__)
+# Debian lib path
+lib_path = "/usr/lib/ruby/vendor_ruby"
 
 $:.unshift lib_path