[DRE-commits] [SCM] ruby-highline.git branch, master, updated. upstream/1.6.9-20-g9ecc9f8

Cédric Boutillier cedric.boutillier at gmail.com
Wed May 16 13:27:29 UTC 2012


The following commit has been merged in the master branch:
commit 4d31cf582736622e538e63f0eeca1369a4df2086
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Wed May 16 15:08:22 2012 +0200

    add change-shebangs-in-examples.patch fixing shebangs in examples

diff --git a/debian/patches/change-shebangs-in-examples.patch b/debian/patches/change-shebangs-in-examples.patch
new file mode 100644
index 0000000..0ea8aa0
--- /dev/null
+++ b/debian/patches/change-shebangs-in-examples.patch
@@ -0,0 +1,76 @@
+Description: change shebangs in examples to use /usr/bin/env ruby
+From: Cédric Boutillier <cedric.boutillier at gmai.com>
+Last-Update: 2012-05-16
+
+--- a/examples/ansi_colors.rb
++++ b/examples/ansi_colors.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ # ansi_colors.rb
+ #
+--- a/examples/asking_for_arrays.rb
++++ b/examples/asking_for_arrays.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ # asking_for_arrays.rb
+ #
+--- a/examples/basic_usage.rb
++++ b/examples/basic_usage.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ # basic_usage.rb
+ #
+--- a/examples/menus.rb
++++ b/examples/menus.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ require "rubygems"
+ require "highline/import"
+--- a/examples/overwrite.rb
++++ b/examples/overwrite.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ # overwrite.rb
+ # 
+--- a/examples/page_and_wrap.rb
++++ b/examples/page_and_wrap.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ # page_and_wrap.rb
+ #
+--- a/examples/password.rb
++++ b/examples/password.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ require "rubygems"
+ require "highline/import"
+--- a/examples/trapping_eof.rb
++++ b/examples/trapping_eof.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ # trapping_eof.rb
+ #
+--- a/examples/using_readline.rb
++++ b/examples/using_readline.rb
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby -w
++#!/usr/bin/env ruby -w
+ 
+ # using_readline.rb
+ #
diff --git a/debian/patches/series b/debian/patches/series
index b738391..ff8f9c6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 remove-shebangs.patch
+change-shebangs-in-examples.patch

-- 
ruby-highline.git



More information about the Pkg-ruby-extras-commits mailing list