diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-05 04:51:11 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-05 04:51:11 +0000 |
commit | 3f9fd4191bb3c85267cff81c2d4f494cbaa97e80 (patch) | |
tree | 50437597bcf144a2b6700429e020524f6d1084ff /lib/mkmf.rb | |
parent | 970b618e647c748054726931ac7ffa42dda98e03 (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/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 3 |
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) |