mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macros
properly expanded on a command execution. * ext/extmk.rb.in (xsystem): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
156b183551
commit
0eea0bf571
3 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Fri May 18 05:19:55 2001 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
|
* lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macros
|
||||||
|
properly expanded on a command execution.
|
||||||
|
|
||||||
|
* ext/extmk.rb.in (xsystem): ditto.
|
||||||
|
|
||||||
Fri May 18 03:45:55 2001 Brian F. Feldman <green@FreeBSD.org>
|
Fri May 18 03:45:55 2001 Brian F. Feldman <green@FreeBSD.org>
|
||||||
|
|
||||||
* lib/mkmf.rb: unbreak "make install". lib/* must be installed
|
* lib/mkmf.rb: unbreak "make install". lib/* must be installed
|
||||||
|
|
|
@ -82,6 +82,7 @@ end
|
||||||
$orgerr = $stderr.dup
|
$orgerr = $stderr.dup
|
||||||
$orgout = $stdout.dup
|
$orgout = $stdout.dup
|
||||||
def xsystem command
|
def xsystem command
|
||||||
|
Config.expand(command)
|
||||||
if $DEBUG
|
if $DEBUG
|
||||||
puts command
|
puts command
|
||||||
return system(command)
|
return system(command)
|
||||||
|
|
|
@ -62,6 +62,7 @@ end
|
||||||
$orgerr = $stderr.dup
|
$orgerr = $stderr.dup
|
||||||
$orgout = $stdout.dup
|
$orgout = $stdout.dup
|
||||||
def xsystem command
|
def xsystem command
|
||||||
|
Config.expand(command)
|
||||||
if $DEBUG
|
if $DEBUG
|
||||||
print command, "\n"
|
print command, "\n"
|
||||||
return system(command)
|
return system(command)
|
||||||
|
|
Loading…
Add table
Reference in a new issue