зеркало из https://github.com/github/ruby.git
* 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:
Родитель
d8ad1e28e9
Коммит
af96c97cb1
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче