From db1571b1b466d20f6a17c85ab062ad37eddb588c Mon Sep 17 00:00:00 2001 From: eban Date: Mon, 4 Sep 2000 04:43:26 +0000 Subject: eban git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- instruby.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'instruby.rb') diff --git a/instruby.rb b/instruby.rb index a8d164cd51..0e3dbbed03 100644 --- a/instruby.rb +++ b/instruby.rb @@ -32,6 +32,10 @@ wdir = Dir.getwd File.makedirs bindir, true File.install ruby_install_name+exeext, "#{bindir}/#{ruby_install_name}#{exeext}", 0755, true +rubyw = ruby_install_name.sub(/ruby/, '\&w')+exeext +if File.exist? rubyw + File.install rubyw, "#{bindir}/#{rubyw}", 0755, true +end for dll in Dir['*.dll'] File.install dll, "#{bindir}/#{dll}", 0755, true end @@ -86,9 +90,6 @@ end if RUBY_PLATFORM =~ /mswin32|mingw/ File.makedirs archlibdir + "/win32", true File.install "win32/win32.h", archlibdir + "/win32", 0644, true - if File.exist? wdir+'/'+CONFIG["LIBRUBY"] - File.install wdir+'/'+CONFIG["LIBRUBY"], archlibdir, 0644, true - end end File.install wdir+'/'+CONFIG['LIBRUBY_A'], archlibdir, 0644, true -- cgit v1.2.3