File: 0001-lib-use-require-instead-of-require-relative.patch

package info (click to toggle)
schleuder-cli 0.1.0-4%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 264 kB
  • sloc: ruby: 571; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Use 'require' instead of 'require_relative' in lib
 Upstream is aware of this patch and we're working on integrating it
 upstream.
Author: Georg Faerber <georg@riseup.net>
Last-Update: 2016-12-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/bin/schleuder-cli
+++ b/bin/schleuder-cli
@@ -1,6 +1,6 @@
 #!/usr/bin/env ruby
 
-require_relative '../lib/schleuder-cli'
+require 'schleuder-cli'
 
 trap("INT") { exit 1 }