File: dont-use-env.patch

package info (click to toggle)
ruby-prof 0.7.3-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 468 kB
  • sloc: ruby: 2,377; ansic: 1,431; makefile: 31
file content (27 lines) | stat: -rw-r--r-- 788 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
20
21
22
23
24
25
26
27
Index: ruby-prof/bin/ruby-prof
===================================================================
--- ruby-prof.orig/bin/ruby-prof	2008-11-12 01:48:30.000000000 +0100
+++ ruby-prof/bin/ruby-prof	2009-03-21 13:05:28.000000000 +0100
@@ -1,4 +1,4 @@
-#! /usr/bin/env ruby
+#!/usr/bin/ruby
 
 # == Synopsis
 #
Index: ruby-prof/lib/ruby-prof/task.rb
===================================================================
--- ruby-prof.orig/lib/ruby-prof/task.rb	2009-03-21 13:06:06.000000000 +0100
+++ ruby-prof/lib/ruby-prof/task.rb	2009-03-21 13:06:16.000000000 +0100
@@ -1,5 +1,3 @@
-#!/usr/bin/env ruby
-
 require 'rake'
 require 'rake/testtask'
 require 'fileutils'
@@ -143,4 +141,4 @@
       ENV['OPTIONS'] || @options.join(" ") || ""
     end
   end
-end
\ No newline at end of file
+end