summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-05 04:51:11 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-05 04:51:11 +0000
commit3f9fd4191bb3c85267cff81c2d4f494cbaa97e80 (patch)
tree50437597bcf144a2b6700429e020524f6d1084ff /lib
parent970b618e647c748054726931ac7ffa42dda98e03 (diff)
* ext/extmk.rb.in, lib/mkmf.rb: print command line in xsystem()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index e1cb058c8b..ee6783f342 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -58,11 +58,12 @@ $orgout = $stdout.dup
def xsystem command
Config.expand(command)
if $DEBUG
- print command, "\n"
+ puts command
return system(command)
end
$stderr.reopen($log)
$stdout.reopen($log)
+ puts command
r = system(command)
$stderr.reopen($orgerr)
$stdout.reopen($orgout)