diff options
Diffstat (limited to 'lib')
-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 |