* lib/mkmf.rb (xsystem): mkmf.log.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2002-09-05 02:24:40 +00:00
parent 3a0f79267e
commit c7b20263a2

View File

@ -123,7 +123,7 @@ def xsystem command
puts command
return system(command)
end
logfile = $extmk ? File.join($topdir, 'ext', 'extmk.log') : 'mkmf.rb'
logfile = $extmk ? File.join($topdir, 'ext', 'extmk.log') : 'mkmf.log'
$log ||= open(logfile, 'w')
$stderr.reopen($log)
$stdout.reopen($log)