File: lib_path.patch

package info (click to toggle)
whatweb 0.6.2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 23,948 kB
  • sloc: ruby: 43,498; sh: 213; makefile: 41
file content (19 lines) | stat: -rw-r--r-- 372 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
Description: install to normal Ruby library path
 Don't need the lib prefix.
Forwarded: no
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2020-12-14

---

--- a/whatweb
+++ b/whatweb
@@ -34,7 +34,7 @@
 
 $LOAD_PATH.unshift(File.join(File.expand_path(__dir__)), '.')
 
-require 'lib/whatweb'
+require 'whatweb'
 
 #
 # Command-line usage information (full)