* instruby.rb: install goruby if exists.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-12-26 05:39:03 +00:00
Родитель d8ad1e28e9
Коммит af96c97cb1
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Wed Dec 26 14:38:43 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* instruby.rb: install goruby if exists.
Wed Dec 26 13:55:02 2007 James Edward Gray II <jeg2@ruby-lang.org>
* lib/csv.rb: Cleaned up some code with Ruby 1.9 idioms.

Просмотреть файл

@ -165,6 +165,7 @@ exeext = CONFIG["EXEEXT"]
ruby_install_name = CONFIG["ruby_install_name"]
rubyw_install_name = CONFIG["rubyw_install_name"]
goruby_install_name = "go" + ruby_install_name
version = CONFIG["ruby_version"]
bindir = CONFIG["bindir"]
@ -193,6 +194,9 @@ install?(:local, :arch, :bin) do
if rubyw_install_name and !rubyw_install_name.empty?
install rubyw_install_name+exeext, bindir, :mode => 0755
end
if File.exist? goruby_install_name+exeext
install goruby_install_name+exeext, bindir, :mode => 0755
end
if enable_shared and dll != lib
install dll, bindir, :mode => 0755
end