diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-07-22 10:37:27 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-07-22 10:37:27 +0000 |
commit | a1530c751e6c484b6217565f3db2b0614735710c (patch) | |
tree | bfb9cae2410306cc39845fa836c44f546034290b /instruby.rb | |
parent | 86307f52ee1b3c5aa76e2fd6ee118e681dd76905 (diff) |
backtrace may be Qnil
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r-- | instruby.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index 6fc5211a81..78b3afaeae 100644 --- a/instruby.rb +++ b/instruby.rb @@ -52,7 +52,11 @@ File.makedirs archdir, true File.makedirs pkglibdir+"/site_ruby", true File.makedirs pkglibdir+"/site_ruby/"+CONFIG["arch"], true -if PLATFORM =~ /-aix/ +if RUBY_PLATFORM =~ /cygwin/ and File.exist? "import.h" + File.install "import.h", archdir, 0644, true +end + +if RUBY_PLATFORM =~ /-aix/ File.install "ruby.imp", archdir, 0644, true end |