diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-17 20:23:08 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-17 20:23:08 +0000 |
commit | 0eea0bf571f7830e5c49c00df0431c4e8b4a789c (patch) | |
tree | d83d7f21a3f0294e370bfa63f0cd448851303da8 | |
parent | 156b1835517cd9891d727d1f39b6593b82c9a12b (diff) |
* 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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ext/extmk.rb.in | 1 | ||||
-rw-r--r-- | lib/mkmf.rb | 1 |
3 files changed, 9 insertions, 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> * lib/mkmf.rb: unbreak "make install". lib/* must be installed diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index 9e454cc429..fa3921c2c2 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -82,6 +82,7 @@ end $orgerr = $stderr.dup $orgout = $stdout.dup def xsystem command + Config.expand(command) if $DEBUG puts command return system(command) diff --git a/lib/mkmf.rb b/lib/mkmf.rb index cd1620ee9a..e9c78dace7 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -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) |