File: 0002-fix_interpreter.patch

package info (click to toggle)
ruby-fastercsv 1.5.5-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 600 kB
  • sloc: ruby: 2,708; makefile: 2
file content (68 lines) | stat: -rw-r--r-- 1,451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Description: Remove shebangs in library files, rename in examples.
Forwarded: not-needed
Author: Jérémy Lal <kapouer@melix.org>
Last-Update: 2012-05-15
--- a/lib/faster_csv.rb
+++ b/lib/faster_csv.rb
@@ -1,5 +1,3 @@
-#!/usr/local/bin/ruby -w
-
 # = faster_csv.rb -- Faster CSV Reading and Writing
 #
 #  Created by James Edward Gray II on 2005-10-31.
--- a/lib/fastercsv.rb
+++ b/lib/fastercsv.rb
@@ -1,5 +1,3 @@
-#!/usr/local/bin/ruby -w
-
 # fastercsv.rb
 #
 #  Created by James Edward Gray II on 2006-04-01.
--- a/examples/csv_converters.rb
+++ b/examples/csv_converters.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 # csv_converters.rb
 #
--- a/examples/csv_filter.rb
+++ b/examples/csv_filter.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 # = csv_filter.rb -- Faster CSV Reading and Writing
 #
--- a/examples/csv_reading.rb
+++ b/examples/csv_reading.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 # csv_reading.rb
 #
--- a/examples/csv_table.rb
+++ b/examples/csv_table.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 # csv_table.rb
 #
--- a/examples/csv_writing.rb
+++ b/examples/csv_writing.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 # csv_rails_import.rb
 #
--- a/examples/shortcut_interface.rb
+++ b/examples/shortcut_interface.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 # shortcut_interface.rb
 #