diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-04 04:43:26 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-04 04:43:26 +0000 |
commit | ab206c84fffdae3d38cf6eba3b3c2949ac23c1ec (patch) | |
tree | 2821e456507d0411170a667cc21a3e76153c5784 /instruby.rb | |
parent | eb9266867664d2ba05190d876328a4db9af64220 (diff) | |
download | ruby-ab206c84fffdae3d38cf6eba3b3c2949ac23c1ec.tar.gz ruby-ab206c84fffdae3d38cf6eba3b3c2949ac23c1ec.tar.xz ruby-ab206c84fffdae3d38cf6eba3b3c2949ac23c1ec.zip |
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r-- | instruby.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/instruby.rb b/instruby.rb index a8d164cd5..0e3dbbed0 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 |