mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Install help-message's too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
859a7a9277
commit
50e19a0ede
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ Dir.chdir CONFIG["srcdir"]
|
|||
File.install "sample/irb.rb", "#{bindir}/irb", 0755, true
|
||||
|
||||
Find.find("lib") do |f|
|
||||
next unless /\.rb$/ =~ f
|
||||
next unless /\.rb$/ =~ f || /help-message$/ =~ f
|
||||
dir = rubylibdir+"/"+File.dirname(f[4..-1])
|
||||
File.makedirs dir, true unless File.directory? dir
|
||||
File.install f, dir, 0644, true
|
||||
|
|
Loading…
Reference in a new issue