summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-22 10:28:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-22 10:28:47 +0000
commit1e60b92e4abdc40b59d498ba55e916f7a6f3608b (patch)
tree8fd2474ff94ff56ffd5f630c5d00c2fac1fa9a4f /lib
parent3f48e43c2712d749c227c3cc7f8cbf052b739ca8 (diff)
downloadruby-1e60b92e4abdc40b59d498ba55e916f7a6f3608b.tar.gz
ruby-1e60b92e4abdc40b59d498ba55e916f7a6f3608b.tar.xz
ruby-1e60b92e4abdc40b59d498ba55e916f7a6f3608b.zip
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/shell.rb6
1 files changed, 1 insertions, 5 deletions
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