From 8f800a24525671fce407cefac9cff56a070f6a3b Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 25 Feb 2002 06:24:44 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ lib/shell.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eb9a57315e3c65..7e48f0ff0fc728 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Feb 25 13:32:13 2002 Nobuyoshi Nakada + + * lib/shell.rb (Shell::expand_path): relative to @cwd. + Mon Jan 7 12:38:47 2002 Tanaka Akira * lib/time.rb: fix unit tests before Unix Epoch. diff --git a/lib/shell.rb b/lib/shell.rb index bed9c052e8272d..acc4adec0b74b9 100644 --- a/lib/shell.rb +++ b/lib/shell.rb @@ -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