/[pkg-ruby-extras]/trunk/libparsetree-ruby/debian/patches/10_correct-path-for-ruby-interpreter.dpatch
ViewVC logotype

Contents of /trunk/libparsetree-ruby/debian/patches/10_correct-path-for-ruby-interpreter.dpatch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3895 - (hide annotations) (download)
Sat Aug 8 14:43:21 2009 UTC (3 years, 9 months ago) by lucas
File size: 1607 byte(s)
SVN reorganization (first part, until packages/libqt4-ruby)
1 tiber-guest 3781 #! /bin/sh /usr/share/dpatch/dpatch-run
2     ## 10_correct-path-for-ruby-interpreter.dpatch by Sebastien Delafond <seb@debian.org>
3     ##
4     ## All lines beginning with `## DP:' are a description of the patch.
5     ## DP: Correct Ruby interpreter.
6    
7     @DPATCH@
8     diff -urNad ParseTree-2.1.1~/bin/parse_tree_abc ParseTree-2.1.1/bin/parse_tree_abc
9     --- ParseTree-2.1.1~/bin/parse_tree_abc 2007-12-22 17:38:36.000000000 -0800
10     +++ ParseTree-2.1.1/bin/parse_tree_abc 2008-05-11 10:04:45.000000000 -0700
11     @@ -1,4 +1,4 @@
12     -#!/usr/local/bin/ruby -ws
13     +#!/usr/bin/ruby1.8 -ws
14    
15     # ABC metric
16     #
17     diff -urNad ParseTree-2.1.1~/bin/parse_tree_audit ParseTree-2.1.1/bin/parse_tree_audit
18     --- ParseTree-2.1.1~/bin/parse_tree_audit 2007-12-22 17:38:36.000000000 -0800
19     +++ ParseTree-2.1.1/bin/parse_tree_audit 2008-05-11 10:04:45.000000000 -0700
20     @@ -1,4 +1,4 @@
21     -#!/usr/local/bin/ruby -w
22     +#!/usr/bin/ruby1.8 -w
23    
24     require 'parse_tree'
25    
26     diff -urNad ParseTree-2.1.1~/bin/parse_tree_deps ParseTree-2.1.1/bin/parse_tree_deps
27     --- ParseTree-2.1.1~/bin/parse_tree_deps 2007-12-22 17:38:36.000000000 -0800
28     +++ ParseTree-2.1.1/bin/parse_tree_deps 2008-05-11 10:04:45.000000000 -0700
29     @@ -1,4 +1,4 @@
30     -#!/usr/local/bin/ruby -ws
31     +#!/usr/bin/ruby1.8 -ws
32    
33     old_classes = []; new_classes = []
34    
35     diff -urNad ParseTree-2.1.1~/bin/parse_tree_show ParseTree-2.1.1/bin/parse_tree_show
36     --- ParseTree-2.1.1~/bin/parse_tree_show 2007-12-22 17:38:36.000000000 -0800
37     +++ ParseTree-2.1.1/bin/parse_tree_show 2008-05-11 10:04:45.000000000 -0700
38     @@ -1,4 +1,4 @@
39     -#!/usr/local/bin/ruby -ws
40     +#!/usr/bin/ruby1.8 -ws
41    
42     require 'pp'
43     begin require 'rubygems' rescue LoadError end

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5