diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-22 10:28:47 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-22 10:28:47 +0000 |
commit | 088d04d88e8948812038e1297d449ba12224066e (patch) | |
tree | 8fd2474ff94ff56ffd5f630c5d00c2fac1fa9a4f /lib/shell.rb | |
parent | 9ce732561568d940e9ddf2cf6cf798b3dc65ccd7 (diff) |
* bignum.c (get2comp): need to specify to carry or not.
* io.c (rb_io_inspect): embed path info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell.rb')
-rw-r--r-- | lib/shell.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/shell.rb b/lib/shell.rb index d641657cbe..bed9c052e8 100644 --- a/lib/shell.rb +++ b/lib/shell.rb @@ -116,11 +116,7 @@ class Shell attr_reader :process_controller def expand_path(path) - if /^[\/~]/ =~ path - File.expand_path(path) - else - File.expand_path(File.join(@cwd, path)) - end + File.expand_path(path) end # Most Shell commands are defined via CommandProcessor |