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.1.4-orig/man/ruby.1 Thu Jul 3 08:43:12 2014 |
|
6 +++ ruby-2.1.4/man/ruby.1 Wed Nov 5 15:31:32 2014 |
|
7 @@ -203,9 +203,9 @@ |
|
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.1/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.1/bin/ruby -S $0 $* |
|
16 .Ed |
|
17 .Pp |
|
18 .It Fl T Ns Op Ar level=1 |
|
19 @@ -328,7 +328,7 @@ |
|
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.1/bin/ruby -s |
|
25 # prints "true" if invoked with `-xyz' switch. |
|
26 print "true\en" if $xyz |
|
27 .Ed |