1
0
Fork 0
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:
knu 2001-05-17 20:23:08 +00:00
parent 156b183551
commit 0eea0bf571
3 changed files with 9 additions and 0 deletions

View file

@ -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>
* lib/mkmf.rb: unbreak "make install". lib/* must be installed

View file

@ -82,6 +82,7 @@ end
$orgerr = $stderr.dup
$orgout = $stdout.dup
def xsystem command
Config.expand(command)
if $DEBUG
puts command
return system(command)

View file

@ -62,6 +62,7 @@ end
$orgerr = $stderr.dup
$orgout = $stdout.dup
def xsystem command
Config.expand(command)
if $DEBUG
print command, "\n"
return system(command)