diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-21 07:14:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-21 07:14:14 +0000 |
commit | b5236721892fbd2a062eb44f6bcc4b8e2be57d34 (patch) | |
tree | bbff16d785e5acc3081cc3bd94dafb1826abf5c0 /lib | |
parent | 1bba12a89018ab1d8f5ce13b627b9a08b00ea789 (diff) |
* eval.c: typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/shell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shell.rb b/lib/shell.rb index 6b44cc3e64..d641657cbe 100644 --- a/lib/shell.rb +++ b/lib/shell.rb @@ -116,7 +116,7 @@ class Shell attr_reader :process_controller def expand_path(path) - if /^\// =~ path + if /^[\/~]/ =~ path File.expand_path(path) else File.expand_path(File.join(@cwd, path)) |