mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* pack.c (pack_pack): wrong # comment treatment.
* pack.c (pack_unpack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7f97e8948d
commit
a08cea360d
5 changed files with 16 additions and 10 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue