File: 0004-Update_default_binary_path.patch

package info (click to toggle)
cucumber 10.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,008 kB
  • sloc: ruby: 7,142; javascript: 4,506; makefile: 8
file content (18 lines) | stat: -rw-r--r-- 758 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix paths in cucumber/platform.rb
Author: Kevin Locke <kevin@kevinlocke.name>
Reviewed-by: Cédric Boutillier <boutil@debian.org>
Last-Update: 2015-06-19

--- a/lib/cucumber/platform.rb
+++ b/lib/cucumber/platform.rb
@@ -5,8 +5,8 @@ require 'cucumber/core/platform'
 
 module Cucumber
   VERSION       = File.read(File.expand_path('../../VERSION', __dir__)).strip
-  BINARY        = File.expand_path("#{File.dirname(__FILE__)}/../../bin/cucumber")
-  LIBDIR        = File.expand_path("#{File.dirname(__FILE__)}/../../lib")
+  BINARY        = '/usr/bin/cucumber'
+  LIBDIR        = File.expand_path(File.dirname(__FILE__) + '/..')
   RUBY_BINARY   = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
 
   class << self