summaryrefslogtreecommitdiff
path: root/lib/shell.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-25 04:35:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-25 04:35:12 +0000
commitaaa30fd040781355739b5cceb372df46851a2f5b (patch)
treeadb51f82245bdfd9daf80ce7e152a675b8b7fe68 /lib/shell.rb
parent3dc9d269e2c24cd408828f39bc74d4c80a8811a2 (diff)
* lib/shell.rb (Shell::expand_path): relative to @cwd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell.rb')
-rw-r--r--lib/shell.rb2
1 files changed, 1 insertions, 1 deletions
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