File ParseTree-3.0.9_shebang.patch of Package rubygem-ParseTree

Index: ParseTree-3.0.9/bin/parse_tree_abc
===================================================================
--- ParseTree-3.0.9.orig/bin/parse_tree_abc
+++ ParseTree-3.0.9/bin/parse_tree_abc
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -ws
+#!/usr/bin/ruby -ws
 
 # ABC metric
 #
Index: ParseTree-3.0.9/bin/parse_tree_audit
===================================================================
--- ParseTree-3.0.9.orig/bin/parse_tree_audit
+++ ParseTree-3.0.9/bin/parse_tree_audit
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby -w
 
 require 'parse_tree'
 
Index: ParseTree-3.0.9/bin/parse_tree_deps
===================================================================
--- ParseTree-3.0.9.orig/bin/parse_tree_deps
+++ ParseTree-3.0.9/bin/parse_tree_deps
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -ws
+#!/usr/bin/ruby -ws
 
 old_classes = []; new_classes = []
 
Index: ParseTree-3.0.9/bin/parse_tree_show
===================================================================
--- ParseTree-3.0.9.orig/bin/parse_tree_show
+++ ParseTree-3.0.9/bin/parse_tree_show
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -ws
+#!/usr/bin/ruby -ws
 
 require 'pp'
 begin; require 'rubygems'; rescue LoadError; end
Index: ParseTree-3.0.9/demo/printer.rb
===================================================================
--- ParseTree-3.0.9.orig/demo/printer.rb
+++ ParseTree-3.0.9/demo/printer.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby -w
 require 'rubygems'
 require 'sexp_processor'
 
Index: ParseTree-3.0.9/lib/parse_tree.rb
===================================================================
--- ParseTree-3.0.9.orig/lib/parse_tree.rb
+++ ParseTree-3.0.9/lib/parse_tree.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby -w
 
 raise LoadError, "ParseTree doesn't work with ruby #{RUBY_VERSION}" if
   RUBY_VERSION >= "1.9"
Index: ParseTree-3.0.9/test/test_parse_tree.rb
===================================================================
--- ParseTree-3.0.9.orig/test/test_parse_tree.rb
+++ ParseTree-3.0.9/test/test_parse_tree.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby -w
 
 dir = File.expand_path "~/.ruby_inline"
 if test ?d, dir then
Index: ParseTree-3.0.9/test/test_unified_ruby.rb
===================================================================
--- ParseTree-3.0.9.orig/test/test_unified_ruby.rb
+++ ParseTree-3.0.9/test/test_unified_ruby.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby -w
 
 $TESTING = true
 
openSUSE Build Service is sponsored by