File: 00-fix-shebang.patch

package info (click to toggle)
libinline-ruby 3.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 180 kB
  • ctags: 147
  • sloc: ruby: 1,467; makefile: 8
file content (40 lines) | stat: -rw-r--r-- 1,503 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
Index: libinline-ruby-3.8.3/demo/hello.rb
===================================================================
--- libinline-ruby-3.8.3.orig/demo/hello.rb	2009-08-12 16:37:07.000000000 -0500
+++ libinline-ruby-3.8.3/demo/hello.rb	2009-08-12 16:39:45.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 begin require 'rubygems' rescue LoadError end
 require 'inline'
Index: libinline-ruby-3.8.3/example.rb
===================================================================
--- libinline-ruby-3.8.3.orig/example.rb	2009-08-12 16:37:07.000000000 -0500
+++ libinline-ruby-3.8.3/example.rb	2009-08-12 16:39:50.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 begin
   require 'rubygems'
Index: libinline-ruby-3.8.3/example2.rb
===================================================================
--- libinline-ruby-3.8.3.orig/example2.rb	2009-08-12 16:37:07.000000000 -0500
+++ libinline-ruby-3.8.3/example2.rb	2009-08-12 16:39:43.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby17 -w
+#!/usr/bin/env ruby
 
 begin
   require 'rubygems'
Index: libinline-ruby-3.8.3/lib/inline.rb
===================================================================
--- libinline-ruby-3.8.3.orig/lib/inline.rb	2009-08-12 16:37:07.000000000 -0500
+++ libinline-ruby-3.8.3/lib/inline.rb	2009-08-12 16:39:48.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
 
 ##
 # Ruby Inline is a framework for writing ruby extensions in foreign