diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-25 06:24:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-25 06:24:44 +0000 |
commit | 8f800a24525671fce407cefac9cff56a070f6a3b (patch) | |
tree | b12e901efa647dd5dc7e106872e7a3a04296dccd | |
parent | 425054b02d8ab450c31778c5dec5e9e99d3f4ce4 (diff) |
* lib/shell.rb (Shell::expand_path): relative to @cwd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/shell.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Feb 25 13:32:13 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> + + * lib/shell.rb (Shell::expand_path): relative to @cwd. + Mon Jan 7 12:38:47 2002 Tanaka Akira <akr@m17n.org> * lib/time.rb: fix unit tests before Unix Epoch. diff --git a/lib/shell.rb b/lib/shell.rb index bed9c052e8..acc4adec0b 100644 --- a/lib/shell.rb +++ b/lib/shell.rb @@ -116,7 +116,7 @@ class Shell attr_reader :process_controller def expand_path(path) - File.expand_path(path) + File.expand_path(path, @cwd) end # Most Shell commands are defined via CommandProcessor |