equal
deleted
inserted
replaced
|
1 # Replace /usr/local/bin/ruby references in ruby(1) manpage. |
|
2 # Changes were developed in-house, are Solaris specific, |
|
3 # and not suitable for upstream. |
|
4 |
|
5 --- ruby-2.3.1-orig/man/ruby.1 2016-03-28 21:49:00.000000000 -0700 |
|
6 +++ ruby-2.3.1/man/ruby.1 2016-09-14 14:00:35.000000000 -0700 |
|
7 @@ -203,9 +203,9 @@ with a slash. This is used to emulate |
|
8 .Li #! |
|
9 on machines that don't support it, in the following manner: |
|
10 .Bd -literal -offset indent |
|
11 -#! /usr/local/bin/ruby |
|
12 +#! /usr/ruby/2.3/bin/ruby |
|
13 # This line makes the next one a comment in Ruby \e |
|
14 - exec /usr/local/bin/ruby -S $0 $* |
|
15 + exec /usr/ruby/2.3/bin/ruby -S $0 $* |
|
16 .Ed |
|
17 .Pp |
|
18 .It Fl T Ns Op Ar level=1 |
|
19 @@ -328,7 +328,7 @@ Any switches found there are removed fro |
|
20 .Li ARGV |
|
21 and set the corresponding variable in the script. For example: |
|
22 .Bd -literal -offset indent |
|
23 -#! /usr/local/bin/ruby -s |
|
24 +#! /usr/ruby/2.3/bin/ruby -s |
|
25 # prints "true" if invoked with `-xyz' switch. |
|
26 print "true\en" if $xyz |
|
27 .Ed |