summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-22 10:29:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-22 10:29:27 +0000
commit8c8020dc9605a7bc0062741706f12c0d9d46d1b2 (patch)
tree77a96f68604cdbe2e19188339afd2c4424f6941e /lib
parent5a7084d6f62295ae81610c30b32691fc1385cbc5 (diff)
* bignum.c (get2comp): need to specify to carry or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2113 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 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