~ubuntu-branches/ubuntu/trusty/ruby-benchmark-suite/trusty

« back to all changes in this revision

Viewing changes to debian/patches/0001-Hardwire-Debian-lib-path.patch

  • Committer: Package Import Robot
  • Author(s): Per Andersson
  • Date: 2013-06-09 17:03:30 UTC
  • Revision ID: package-import@ubuntu.com-20130609170330-uyp6jhiyj2tixvbg
Tags: 1.0.0+git.20130122.5bded6-1
Initial release (Closes: #698729)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Per Andersson <avtobiff@gmail.com>
 
2
Date: Sun, 9 Jun 2013 17:51:39 +0200
 
3
Subject: Hardwire Debian lib path
 
4
 
 
5
---
 
6
 bin/benchmark |    4 +++-
 
7
 1 file changed, 3 insertions(+), 1 deletion(-)
 
8
 
 
9
diff --git a/bin/benchmark b/bin/benchmark
 
10
index 55a55e5..0e4e3d3 100755
 
11
--- a/bin/benchmark
 
12
+++ b/bin/benchmark
 
13
@@ -3,7 +3,9 @@
 
14
 require 'optparse'
 
15
 require 'tempfile'
 
16
 
 
17
-lib_path = File.expand_path("../../lib", __FILE__)
 
18
+#lib_path = File.expand_path("../../lib", __FILE__)
 
19
+# Debian lib path
 
20
+lib_path = "/usr/lib/ruby/vendor_ruby"
 
21
 
 
22
 $:.unshift lib_path
 
23