python/cmd2: update to 2.5.6
[oi-userland.git] / components / ruby / ruby-23 / patches / 01-ruby-path-in-man-page.patch
blobab3630a1315f07979dae64fce458a5989113854e
1 --- ruby-2.3.0/man/ruby.1.orig 2015-11-15 05:04:37.000000000 +0300
2 +++ ruby-2.3.0/man/ruby.1 2016-04-12 12:44:33.591950380 +0300
3 @@ -203,9 +203,9 @@
4 .Li #!
5 on machines that don't support it, in the following manner:
6 .Bd -literal -offset indent
7 -#! /usr/local/bin/ruby
8 +#! /usr/ruby/2.3/bin/ruby
9 # This line makes the next one a comment in Ruby \e
10 - exec /usr/local/bin/ruby -S $0 $*
11 + exec /usr/ruby/2.3/bin/ruby -S $0 $*
12 .Ed
13 .Pp
14 .It Fl T Ns Op Ar level=1
15 @@ -328,7 +328,7 @@
16 .Li ARGV
17 and set the corresponding variable in the script. For example:
18 .Bd -literal -offset indent
19 -#! /usr/local/bin/ruby -s
20 +#! /usr/ruby/2.3/bin/ruby -s
21 # prints "true" if invoked with `-xyz' switch.
22 print "true\en" if $xyz
23 .Ed