summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-04-30 17:55:56 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-04-30 17:55:56 +0000
commit50e19a0ede5d4c4e3f65be22d2df427b48f82c58 (patch)
tree5aa3b9748cfeafab4a6e44eb09168eba76b6cf33 /instruby.rb
parent859a7a92775a84f118a063e5afba4580c7d6d0df (diff)
Install help-message's too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb
index 265b854..7818455 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -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