summaryrefslogtreecommitdiffstats
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
commit55a393ae13f303a745ed9232e9ade43bf6fc2993 (patch)
tree5aa3b9748cfeafab4a6e44eb09168eba76b6cf33 /instruby.rb
parent94218292eeb4a918d3c0039f41cf83c5efd6d16c (diff)
downloadruby-55a393ae13f303a745ed9232e9ade43bf6fc2993.tar.gz
ruby-55a393ae13f303a745ed9232e9ade43bf6fc2993.tar.xz
ruby-55a393ae13f303a745ed9232e9ade43bf6fc2993.zip
Install help-message's too.
git-svn-id: http://svn.ruby-lang.org/repos/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 265b854eb..7818455de 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