Skip to content

Commit

Permalink
* lib/shell.rb (Shell::expand_path): relative to @cwd.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Feb 25, 2002
1 parent 425054b commit 8f800a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/shell.rb
Expand Up @@ -116,7 +116,7 @@ def debug=(val)
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
Expand Down

0 comments on commit 8f800a2

Please sign in to comment.