1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* bin/irb: Moved from sample/irb.rb.

* instruby.rb: Install script files under bin/ with ruby's program
  prefix and suffix.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2002-11-18 16:57:36 +00:00
parent 734665d3a9
commit c04ef9321c
3 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Tue Nov 19 01:53:35 2002 Akinori MUSHA <knu@iDaemons.org>
* bin/irb: Moved from sample/irb.rb.
* instruby.rb: Install script files under bin/ with ruby's program
prefix and suffix.
Mon Nov 18 02:13:36 2002 Akinori MUSHA <knu@iDaemons.org>
* lib/tempfile.rb: Make this libary thread safe.

View file

@ -98,7 +98,13 @@ end
Dir.chdir CONFIG["srcdir"]
Installer.install "sample/irb.rb", "#{bindir}/irb", 0755, true
for f in Dir["bin/*"]
next unless File.file?(f)
name = ruby_install_name.sub(/ruby/, File.basename(f))
Installer.install f, File.join(bindir, name), 0755, true
end
Dir.glob("lib/**/*{.rb,help-message}") do |f|
dir = File.dirname(f).sub!(/\Alib/, rubylibdir) || rubylibdir