mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Catch the exception SystemExit in extconf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1d64100b2a
commit
b5a8ba178f
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
require 'mkmf'
|
||||
|
||||
begin # for the exception SystemExit
|
||||
|
||||
$:.unshift File.dirname(__FILE__)
|
||||
require 'type'
|
||||
|
||||
|
@ -194,3 +197,6 @@ $INSTALLFILES = [
|
|||
]
|
||||
|
||||
create_makefile('dl')
|
||||
rescue SystemExit
|
||||
# do nothing
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue