From 1e60b92e4abdc40b59d498ba55e916f7a6f3608b Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 22 Feb 2002 10:28:47 +0000 Subject: * bignum.c (get2comp): need to specify to carry or not. * io.c (rb_io_inspect): embed path info. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/shell.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/shell.rb b/lib/shell.rb index d641657cb..bed9c052e 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 -- cgit